# CVE-2026-30226: devalue has prototype pollution in devalue.parse and devalue.unflatten

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- 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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-03-11T17:47:40.016Z
- Modified: 2026-06-17T10:32:31.293Z
- Also known as: GHSA-cfw5-2vxh-hr84
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. In devalue v5.6.3 and earlier, devalue.parse and devalue.unflatten were susceptible to prototype pollution via maliciously crafted payloads. Successful exploitation could lead to Denial of Service (DoS) or type confusion. This vulnerability is fixed in 5.6.4.

(As written by CVE List.)

## Affected

- sveltejs devalue: < 5.6.4
- devalue (npm): before 5.6.4
- svelte devalue: before 5.6.4

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sveltejs/devalue/security/advisories/GHSA-cfw5-2vxh-hr84> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30226> (advisory)
- <https://github.com/sveltejs/devalue> (package)

## Sources

- CVE List: [CVE-2026-30226](https://www.cve.org/CVERecord?id=CVE-2026-30226), CVE Terms of Use, modified 2026-03-12
- GitHub Advisory Database: [GHSA-cfw5-2vxh-hr84](https://github.com/advisories/GHSA-cfw5-2vxh-hr84), CC-BY-4.0, modified 2026-03-14
- NVD: [CVE-2026-30226](https://nvd.nist.gov/vuln/detail/CVE-2026-30226), Public domain, modified 2026-06-17

---

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