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:15Z
Modified
2026-10-21T02:31:06Z
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
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-1321"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54803.json"
}
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
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:sunnyadn:js-toml:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.0.2"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "b125910a3f094b744c9c3571360d4b9e3a472f66"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

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"