CVE-2025-54803: sunnyadn js-toml · Prototype Pollution
Affects sunnyadn js-tomlSource CVE Database V5
Not known to be exploited · CVSS 7.9 High : upgrade to 1.0.2 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade sunnyadn js-toml to 1.0.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sunnyadn js-toml | Affected
| Fixed in
|
AI-suggested
European organizations should immediately audit their software dependencies to identify usage of js-toml versions below 1.0.2. Upgrading to version 1.0.2 or later is the primary and most effective mitigation. For environments where immediate upgrade is not feasible, implementing input validation and sanitization on TOML files before parsing can reduce risk. Employing runtime application self-protection (RASP) or web application firewalls (WAF) with rules to detect and block suspicious TOML payloads may provide temporary defense. Additionally, organizations should monitor logs for anomalous parsing errors or unexpected prototype modifications. Incorporating dependency scanning tools into CI/CD pipelines to detect vulnerable js-toml versions will prevent future introduction of this risk. Finally, educating developers about prototype pollution risks and secure coding practices when handling untrusted input is recommended.
Description
js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. In versions below 1.0.2, a prototype pollution vulnerability in js-toml allows a remote attacker to add or modify properties of the global Object.prototype by parsing a maliciously crafted TOML input. This is fixed in version 1.0.2.