CVE-2025-54803Sunnyadn Js-toml
High 7.9 No auth needed
Follow: this CVE · Sunnyadn · Sunnyadn Js-toml We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 4.0
- 7.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 5, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Js-toml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | js-toml |
< 1.0.2 |
1.0.2 |
npm install js-toml@1.0.2 |
Per OSV / GitHub Advisories (GHSA-65fc-cr5f-v7r2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sunnyadn | js-toml | < 1.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit
- github.com Patch
- github.com Vendor Advisory