High
Svelte devalue vulnerable to prototype pollution
Type: advisorySources: OSV
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-57820
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:02 UTC · Revision 1
Source evidence
Svelte devalue vulnerable to prototype pollution
core-osv · Original sourcePublished 26 Aug 2025, 22:33 UTC
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
osv:CVE-2025-57820
Complete source record
{
"id": "380923b7dc631c7c5193eca21e3ee468c14e92def6da547dd9eca3e76e11465a",
"url": "https://osv.dev/vulnerability/CVE-2025-57820",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Svelte devalue vulnerable to prototype pollution",
"summary": "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",
"evidence": "osv:CVE-2025-57820",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-57820",
"aliases": [
"CVE-2025-57820",
"GHSA-vj54-72f3-p5jv"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sveltejs/devalue",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "86a6a66d2c830514e94326a0f8fa2d8d670eac8a"
},
{
"fixed": "0623a47c9555b639c03ff1baea82951b2d9d1132"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0623a47c9555b639c03ff1baea82951b2d9d1132"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"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-2025-57820.json"
}
}
],
"modified": "2026-10-28T02:30:29.719361007Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57820.json",
"https://github.com/sveltejs/devalue/security/advisories/GHSA-vj54-72f3-p5jv",
"https://nvd.nist.gov/vuln/detail/CVE-2025-57820",
"https://github.com/sveltejs/devalue/commit/0623a47c9555b639c03ff1baea82951b2d9d1132"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1321"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57820.json"
}
},
"related_cves": [
{
"value": "CVE-2025-57820",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496643,
"published_at": "2025-08-26T22:33:19.1+00:00"
}