Skip to main content

Svelte devalue CVE-2026-123566

| EUVDEUVD-2026-119451 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-08 VulnCheck GHSA-4qxq-46gj-rw38
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach endpoint that passes input to uneval
  2. Exploit
    Supply sparse array with huge declared length
  3. Execution
    uneval does synchronous work proportional to length
  4. Impact
    Event loop blocks, service denied

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires the target application to pass attacker-influenced values into devalue's uneval() function, and specifically to allow an attacker to control a sparse array whose declared length is large; uneval then performs synchronous work proportional to that declared length. The decisive LIMITING factor, stated by the vendor, is that getting an attacker to create and route a controlled sparse array into uneval is very difficult in practice, which sharply constrains realistic exploitation despite the network-reachable, unauthenticated vector. Impact is confined to availability (event-loop blocking / process stall); no data exposure or modification occurs. Applications that never call uneval on untrusted input are not exposed.

Impact

Signals conflict sharply here. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VA:H) yields a high 8.7 score implying trivial remote unauthenticated availability impact, yet the authoritative GHSA advisory explicitly states that 'attacker-controlled creation of sparse arrays is so difficult, this vulnerability is very difficult to exploit.' That caveat directly contradicts the AC:L/AT:N (low complexity, no attack requirement) metrics in the input vector, so the 8.7 overstates real-world risk. The vuln.today priority is 'this_week' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the input. There is no public exploit identified at time of analysis - only the vendor advisory and the fix commit are referenced. Net: this is a genuine but low-probability, hard-to-trigger DoS that affects availability only (no confidentiality or integrity impact); treat it as routine patching (this week) rather than an emergency. The AC:L/AT:N vs. 'very difficult to exploit' mismatch should be verified against the vendor advisory before acting on the raw CVSS number.

Exploit ScenarioDerived

A Node.js/SvelteKit application that calls devalue's uneval() on data a remote user can influence receives a request crafted so that a sparse array with a very large declared length (e.g. length set high but few real elements) reaches uneval. uneval then performs synchronous work proportional to the declared length, stalling the single-threaded event loop and denying service to all other requests. No public exploit code is identified, and the vendor notes that getting an attacker-controlled sparse array to reach uneval is very difficult in practice.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 08, 2026

Denial of service in Svelte devalue through 5.9.2 can let remote, unauthenticated attackers block the Node.js event loop by routing attacker-influenced sparse arrays into uneval(), which performs synchronous work proportional to the array's declared length rather than its actual contents. The vendor describes exploitation as very difficult because attacker-controlled creation of sparse arrays is hard, and the independent assessment reflects that with AC:H and availability-only impact. Vendor-released patch: 5.9.3; no public exploit was identified at time of analysis and no CISA KEV entry is present in the supplied data.

RemediationAI

Vendor-released patch: 5.9.3. Upgrade the npm/devalue dependency to 5.9.3 or later; the fixing commit is https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250 and the advisory is https://github.com/sveltejs/devalue/security/advisories/GHSA-hx4r-w6wj-j8fg. The supplied sources do not document a vendor workaround, so until the upgrade is applied, prevent attacker-influenced sparse arrays from reaching uneval() and treat any path that serializes untrusted structured data with devalue as the exposure boundary; this may require changing or rejecting such input paths, and it does not replace the fixed release. Additional advisory: https://www.vulncheck.com/advisories/devalue-before-5.9.3-cpu-amplification-denial-of-service-via-uneval.

Affected VersionsENISA

devalue 0 <5.9.3

Affected Packages

npm devalue fix: 5.9.3

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 JavaScript value serializer used to turn application state into strings for hydration and similar transport. Its uneval() path must walk arrays; for a sparse array, JavaScript permits a huge declared length with very few populated indices, so work can scale with length instead of element count, producing CPU amplification and event-loop blocking. The root cause maps to CWE-400 (uncontrolled resource consumption), and the advisory also cites CWE-407 (inefficient algorithm). The CPE cpe:2.3:a:sveltejs:devalue is broad, while the GitHub advisory scopes vulnerable npm/devalue versions to <= 5.9.2 and fixed in 5.9.3. The supplied CVSS 4.0 vector is 8.7 with AC:L, but the independent CVSS 3.1 assessment uses AC:H because the vendor states that creating and routing an attacker-controlled sparse array is very difficult; impact is availability-only, with no confidentiality or integrity effect.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but the vendor states attacker-controlled sparse arrays are very difficult to achieve, so AC:H; availability-only impact gives A:H, C:N/I:N.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Nov 08, 2026 - 03:01 EUVD
CVE Published
Nov 08, 2026 - 01:38 cve.org
HIGH 8.7

DescriptionCVE.org

Sveltejs devalue before 5.9.3 contains a denial of service vulnerability that allows attackers to cause CPU amplification by supplying sparse arrays to uneval. Attackers who influence sparse values passed to uneval can force synchronous work proportional to the declared array length, blocking the event loop.

Technical POC Analysis

Bug class: uncontrolled resource consumption (CWE-400), with the advisory additionally tagging inefficient algorithmic complexity (CWE-407).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity denial-of-service vulnerability in the Svelte devalue library (versions through 5.9.2) could allow unauthenticated attackers to block Node.js event loops, potentially disrupting services that rely on this component. Leadership should prioritize remediation because successful exploitation can cause service outages, affecting availability and customer trust.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Medium
popular npm serialization library, bundled with SvelteKit; not universal
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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