CVE-2025-54803

HIGH EPSS 37.5%
Published Aug 5, 202511mo ago · Modified Jun 17, 20262w ago
7.9 CVSS 4.0
High
Find Similar
Published Aug 5, 2025 11mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.9
Exploitability
Impact
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
37.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-1321

Affected Products 1

VendorProductVersionRange
sunnyadnjs-toml* <1.0.2

References 3

  • gist.github.com https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc
    Exploit
  • github.com https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66
    Patch
  • github.com https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2
    Vendor Advisory

Remediation

  • github.com https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66
    Patch