Skip to main content

Svelte devalue EUVDEUVD-2026-119452

| CVE-2026-123567 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-08 VulnCheck GHSA-8f8h-hxr2-jrh3
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted serialized payload
  2. Exploit
    devalue.parse/unflatten emits __proto__ own property
  3. Execution
    Downstream Object.assign merges result
  4. Impact
    Object.prototype polluted, altering app integrity

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two conditions, both tied to the consuming application, not devalue alone: (1) the application must pass attacker-controlled serialized input to devalue.parse or devalue.unflatten, and (2) downstream code must merge the returned object into a target using Object.assign (or an equivalent own-property copy) so that an emitted __proto__ own property pollutes the prototype. Devalue emitting the __proto__ property is explicitly stated by the vendor to not be a vulnerability on its own. Limiting factors: affects only devalue versions >= 4.0.0 and < 5.6.4 (fixed in 5.6.4); impact is confined to prototype/integrity corruption (no direct confidentiality or availability loss per VC:N/VA:N); applications that never merge parsed output unsafely are not exploitable, which is why the CVSS 4.0 vector carries AT:P.

Impact

This is a moderate, conditional-risk issue rather than a top-tier emergency. The CVSS 4.0 vector (6.3, AV:N/AC:L/AT:P/PR:N/UI:N) shows a network-reachable, unauthenticated flaw with only low integrity impact (VI:L) and no confidentiality or availability impact - consistent with prototype pollution that corrupts object state but does not directly leak data or crash the service. The AT:P (attack requirement present) metric aligns precisely with the advisory's own caveat: devalue emitting a __proto__ own property is NOT by itself a vulnerability (JSON.parse can do the same) and only becomes prototype injection when downstream application code merges the parsed result via Object.assign or similar. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no EPSS score was supplied - so no signal here indicates active or widespread exploitation. No KEV and no EPSS means exploitation likelihood cannot be quantified from the input; treat the missing EPSS as unknown, not as low. Net: a real but defense-in-depth-tier issue whose actual impact hinges on whether consuming applications handle devalue output unsafely.

Exploit ScenarioDerived

An attacker submits crafted serialized input to an application endpoint that deserializes it with devalue.parse or devalue.unflatten; the returned object carries a __proto__ own property. If the application then merges that object into another via Object.assign (e.g., Object.assign(target, result)), Object.prototype is polluted, letting the attacker influence downstream object behavior. No confirmed working public exploit was identified; the GHSA advisory supplies only illustrative code showing the unsafe downstream pattern.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Prototype injection in the sveltejs devalue npm package (4.0.0 through 5.6.3) allows unauthenticated remote attackers to supply crafted serialized input that devalue.parse or devalue.unflatten deserializes into an object carrying a __proto__ own property. The flaw becomes exploitable only when downstream application code copies that result onto a target object with Object.assign, at which point the target's prototype is polluted and its behavior can be influenced - the vendor states that emitting the __proto__ property is not a vulnerability on its own. Impact is confined to integrity (assessed CVSS:3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; CVSS 4.0 base score 6.3 with AT:P reflecting the required downstream merge precondition), a fix ships in devalue 5.6.4, and no public exploit code was identified at time of analysis.

RemediationAI

Vendor-released patch: devalue 5.6.4 - upgrade the npm dependency from any 4.x or 5.x version below 5.6.4 to 5.6.4 or later, following advisory GHSA-mwv9-gp5h-frr4; the upstream fix commit is 87c1f3ce3759765a061cfe34843ecc4b0711ba8d. Because the patch only stops devalue from emitting __proto__ own properties and the vendor treats that emission as non-vulnerable in isolation, the second exploitation precondition sits in the consuming application: audit any code that passes untrusted serialized input to devalue.parse or devalue.unflatten and later merges the returned object into a shared or privileged object with Object.assign (or a comparable own-property copy), and rework those merges so an attacker-supplied __proto__ key cannot reach a prototype setter - for example by copying into a null-prototype target or by rejecting __proto__/constructor/prototype keys before assignment. Until the dependency bump is deployed, that merge-side restriction is the only lever that removes the assessed precondition; devalue versions outside the 4.0.0-5.6.3 range are not affected per the advisory. This is a moderate, conditional-risk issue (vuln.today priority: this_month) rather than an emergency: no public exploit code and no CISA KEV listing were identified at time of analysis, and the assessed impact is integrity-only.

Affected VersionsENISA

devalue 0 <5.6.4

Affected Packages

npm devalue fix: 5.6.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

devalue is a serialization library published by the sveltejs organization on npm, tracked here as CPE cpe:2.3:a:sveltejs:devalue. The weakness maps to CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes, i.e. prototype pollution): in affected versions, devalue.parse and devalue.unflatten could emit objects that carry a __proto__ own property when deserializing attacker-influenced input. A __proto__ own data property is not inherently dangerous - the advisory notes the same is possible with JSON.parse - but it becomes a hazard when consumer code performs an own-property copy such as Object.assign(target, result), because the assignment path interacts with the inherited __proto__ accessor and rewrites the target's prototype rather than defining an ordinary property. The trigger therefore stretches across two layers: devalue emitting the property, and application code merging the returned value into a shared or security-relevant object. The CVSS 4.0 AT:P component and the assessed CVSS:3.1 vector (AC:L, PR:N, UI:N, C:N/I:L/A:N) both reflect that the parse step alone is unauthenticated and remote, while the integrity impact depends on the consuming application's merge pattern; the specific downstream code paths that fail to guard against this are not enumerated in the available sources. Security relevance here is concentrated on the devalue package because the advisory scopes the defect to npm devalue >= 4.0.0 and < 5.6.4.

Know when Devalue gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Crafting the serialized input is low-complexity and needs no auth (AV:N/AC:L/PR:N/UI:N); only integrity is affected (I:L), with the unsafe downstream Object.assign captured as an exploitation condition rather than scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 08, 2026 - 03:01 EUVD

DescriptionCVE.org

Sveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
serialization library widely used within the SvelteKit/Svelte ecosystem
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy