# CVE-2025-57820: Svelte devalue vulnerable to prototype pollution

- Severity: High 7.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-08-26T22:33:14.000Z
- Modified: 2026-06-17T09:43:29.903Z
- Also known as: GHSA-vj54-72f3-p5jv
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- sveltejs devalue: < 5.3.2
- devalue (npm): before 5.3.2

## Every score

- GitHub_M: CVSS:4.0 7.9 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/sveltejs/devalue/security/advisories/GHSA-vj54-72f3-p5jv> (web)
- <https://github.com/sveltejs/devalue/commit/0623a47c9555b639c03ff1baea82951b2d9d1132> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57820> (advisory)
- <https://github.com/sveltejs/devalue> (package)

## Sources

- CVE List: [CVE-2025-57820](https://www.cve.org/CVERecord?id=CVE-2025-57820), CVE Terms of Use, modified 2025-08-27
- GitHub Advisory Database: [GHSA-vj54-72f3-p5jv](https://github.com/advisories/GHSA-vj54-72f3-p5jv), CC-BY-4.0, modified 2025-08-27
- NVD: [CVE-2025-57820](https://nvd.nist.gov/vuln/detail/CVE-2025-57820), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57820 · Whole record: https://cve.day/CVE-2025-57820.json · Rebuilt by cve.day 2026-11-25T22:59:03.724Z
