CVE-2025-57820sveltejs devalue
High 7.9 No auth needed
Follow: this CVE · sveltejs · sveltejs devalue We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 4.0
- 7.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 26, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: no · 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
Svelte devalue is a utility library. Prior to version 5.3.2, a string passed to devalue.parse could represent an object with a __proto__ property and devalue.parse does not check that an index is numeric. This could result in assigning prototypes to objects and properties, leading to prototype pollution. This issue has been fixed in version 5.3.2
What to do
- Apply the vendor's security update for devalue.
- 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 | devalue |
< 5.3.2 |
5.3.2 |
npm install devalue@5.3.2 |
Per OSV / GitHub Advisories (GHSA-vj54-72f3-p5jv). Check the version in your lockfile before upgrading.
Affected products
- sveltejs · devalue
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.