CVE-2025-54803

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*

History

09 Oct 2025, 17:32

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*
First Time Sunnyadn
Sunnyadn js-toml
References () https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc - () https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc - Exploit
References () https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66 - () https://github.com/sunnyadn/js-toml/commit/b125910a3f094b744c9c3571360d4b9e3a472f66 - Patch
References () https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2 - () https://github.com/sunnyadn/js-toml/security/advisories/GHSA-65fc-cr5f-v7r2 - Vendor Advisory

05 Aug 2025, 15:15

Type Values Removed Values Added
References () https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc - () https://gist.github.com/siunam321/f3dc4d21a5a932c67b6c11d0026f5afc -

05 Aug 2025, 14:34

Type Values Removed Values Added
Summary
  • (es) js-toml es un analizador TOML para JavaScript, totalmente compatible con la especificación TOML 1.0.0. En versiones anteriores a la 1.0.2, una vulnerabilidad de contaminación de prototipos en js-toml permite a un atacante remoto añadir o modificar propiedades del Object.prototype global mediante el análisis de una entrada TOML maliciosa. Esto se corrigió en la versión 1.0.2.

05 Aug 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-05 01:15

Updated : 2025-10-09 17:32


NVD link : CVE-2025-54803

Mitre link : CVE-2025-54803

CVE.ORG link : CVE-2025-54803


JSON object : View

Products Affected

sunnyadn

  • js-toml
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')