Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker submits crafted form data
-
DeliveryApplication renders form with spread attributes
-
ExploitUser-controlled name attribute clobbered Svelte internal state
-
ExecutionSvelte executes code with modified state
-
PersistXSS payload executes in victim browser
-
ImpactAttacker exfiltrates credentials or session data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | All three conditions must be simultaneously true: (1) the component uses attribute spreading syntax on a form element (e.g., <form {...spread1}>), (2) the component uses attribute spreading or allows a dynamic value for the name attribute on an input or button element nested within that form (e.g., <input {...spread2}> or <input name={userValue}>), and (3) both the form spread object and the input/button name value are user-controllable (e.g., derived from query parameters, form submissions, or external data without sanitization). Applications using explicit attribute binding instead of spreading, or sanitizing user input before inclusion in these contexts, are not vulnerable. Applications with static markup or server-side validation of form structure are also protected. |
| Impact | While CVSS score is unavailable, the vulnerability is grounded in CWE-79 (XSS), a critical web security flaw. The attack vector is network-based (via HTTP requests with malicious form data or HTML injection), requires no authentication, and depends critically on developer implementation patterns rather than default configuration. Risk is MODERATE-TO-HIGH for applications meeting all three conditions: (1) using attribute spreading on form elements, (2) using attribute spreading or dynamic name attributes on input/button children, and (3) both controlled by user input. The specificity of required conditions significantly reduces the attack surface compared to blanket XSS vulnerabilities. No public exploit code or CISA KEV status is indicated, suggesting limited real-world exploitation despite the XSS nature. Organizations using Svelte should assess whether their components match the vulnerable pattern; those with defensive templating practices (avoiding spread on form elements or sanitizing name attributes) are unlikely to be affected. The availability of a patch in 5.55.7 within days of discovery indicates vendor responsiveness. |
| Exploit ScenarioDerived | An attacker submits a form containing an input element with a maliciously crafted name attribute (e.g., name="__svelte_internal") to a Svelte application that uses attribute spreading on both the form and input elements with user-controllable values. The clobbered attribute shadows Svelte's internal framework state, allowing the attacker to inject and execute arbitrary JavaScript code in the victim's browser context when the component processes or re-renders the form. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 14, 2026
Cross-site scripting (XSS) via DOM clobbering in Svelte versions 5.55.6 and earlier allows attackers to inject malicious code when attribute spreading is used simultaneously on both form elements and their child input/button elements with user-controllable name attributes. The vulnerability requires specific markup patterns where both the form and nested input/button use spread syntax with attacker-controlled values, enabling manipulation of Svelte's internal framework state. Vendor-released patch: version 5.55.7.
RemediationAI
Upgrade Svelte to version 5.55.7 or later immediately. This is the primary fix and addresses the DOM clobbering vulnerability through multiple hardening measures: preventing XSS on the hydratable feature from user contents, disallowing empty attribute names during server-side rendering, hardening regex patterns, and moving Svelte runtime properties to symbols to prevent property shadowing. For applications unable to upgrade immediately, apply input validation to reject or sanitize user-supplied values used in attribute spreading contexts-specifically, disallow or escape any user input that flows into the name attribute of input or button elements within forms that also use attribute spreading. Additionally, review component templates to minimize use of attribute spreading ({...spread}) on form elements; where possible, use explicit attribute binding instead. These mitigations carry the trade-off of reduced templating flexibility but eliminate the attack vector. Consult the GitHub advisory at https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42 for additional context.
Affected VersionsENISA
Affected Packages
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
Svelte is a JavaScript framework that compiles components at build time rather than running a virtual DOM at runtime. The vulnerability stems from DOM clobbering, where attacker-controlled attribute names or values on HTML form elements can override or shadow Svelte's internal properties used to track framework state. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates insufficient sanitization of user-supplied values when constructing DOM attributes. The attack exploits the combination of spread operators ({...spread}) in Svelte templates with user-controllable inputs, allowing an attacker to inject attributes that conflict with Svelte's internal state management, particularly on hydratable forms (server-side rendered and hydrated on the client). The fix involves hardening attribute name validation during server-side rendering, moving Svelte runtime properties to symbols to prevent property shadowing, and enhancing regex patterns to block malicious constructs.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (https://github.com/sveltejs/svelte).
CVSS VectorVendor: https://github.com/sveltejs/svelte
Lifecycle Timeline
2DescriptionCVE.org
Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks.
You are vulnerable if all of the following is true:
- you are using attribute spreading on a form element
- you are using attribute spreading or allow a dynamic value for the
nameattribute on an input or button element within that form - both of these are simultaneously user-controllable
<form {...spread1}>
<input {...spread2}>
</form>Blast Radius
ecosystem impact- 11 npm packages depend on svelte (7 direct, 4 indirect)
Ecosystem-wide dependent count for version 5.55.7.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
EUVD-2026-35701
GHSA-rcqx-6q8c-2c42
NVD
CVE.org
EPSS
VulDB
Exploit-DB