CVE-2025-54803

Source
https://cve.org/CVERecord?id=CVE-2025-54803
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54803.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54803
Aliases
Published
2025-08-05T00:06:15.916Z
Modified
2026-07-08T07:51:31.469828820Z
Severity
  • 7.9 (High) CVSS_V4 - 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 CVSS Calculator
Summary
js-toml is vulnerable to Prototype Pollution
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54803.json",
    "cwe_ids": [
        "CWE-1321"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/sunnyadn/js-toml

Affected ranges

Type
GIT
Repo
https://github.com/sunnyadn/js-toml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.2"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.1.1
v1.*
v1.0.0
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54803.json"