devalue has prototype pollution in devalue.parse and devalue.unflatten
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-30226
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:15 UTC · Revision 1
Source evidence
devalue has prototype pollution in devalue.parse and devalue.unflatten
core-osv · Original sourcePublished 11 Mar 2026, 17:47 UTC
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.
osv:CVE-2026-30226
Complete source record
{
"id": "23d886ad6d5a3f8a48eba2271146dd1e6570a8102f4b3e894930013ed63ba3c4",
"url": "https://osv.dev/vulnerability/CVE-2026-30226",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "devalue has prototype pollution in devalue.parse and devalue.unflatten",
"summary": "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.",
"evidence": "osv:CVE-2026-30226",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-30226",
"aliases": [
"CVE-2026-30226",
"GHSA-cfw5-2vxh-hr84"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sveltejs/devalue",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6cbb3f51258e01d7769e2b3d77b6ce9ed060804b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.6.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:svelte:devalue:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.6.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.6.3",
"v5.6.2",
"v5.6.1",
"v5.6.0",
"v5.5.0",
"v5.4.2",
"v5.4.1",
"v5.4.0",
"v5.3.2",
"v5.3.1",
"v5.3.0",
"v5.1.1",
"v5.1.0",
"v5.0.0",
"v4.3.3",
"v4.3.2",
"v4.3.1",
"v4.3.0",
"v4.2.3",
"v4.2.2",
"v4.2.1",
"v4.2.0",
"v4.1.0",
"v4.0.1",
"v4.0.0",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0.1",
"v2.0.1",
"v2.0.0",
"v1.1.1",
"v1.1.0",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30226.json"
}
}
],
"modified": "2026-10-28T02:30:45.953894308Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30226.json",
"https://github.com/sveltejs/devalue/security/advisories/GHSA-cfw5-2vxh-hr84",
"https://nvd.nist.gov/vuln/detail/CVE-2026-30226"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1321"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30226.json"
}
},
"related_cves": [
{
"value": "CVE-2026-30226",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514194,
"published_at": "2026-03-11T17:47:40.016+00:00"
}