Skip to main content
CVE-2025-54803VulnerabilityPublished

CVE-2025-54803: sunnyadn js-toml · Prototype Pollution

Affects sunnyadn js-tomlSource CVE Database V5

0

Not known to be exploited · CVSS 7.9 High : upgrade to 1.0.2 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
7.9High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
sunnyadn js-tomlAffected
  • <1.0.2
Fixed in
  • 1.0.2

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.

References

Community reviews

Loading reviews…