CVE-2026-42573 Details
Description
Svelte is a performance oriented web framework. Prior to version 5.55.7, Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks. This issue has been patched in version 5.55.7.
A vulnerability in Svelte prior to version 5.55.7 allowed for DOM clobbering of the framework's internal state on elements. This issue could potentially lead to cross-site scripting (XSS) attacks. The vulnerability was present when attribute spreading was used on form elements, and when dynamic values were allowed for the 'name' attribute on input or button elements within the form, with both conditions being user-controllable.
Users can upgrade to Svelte version 5.55.7 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-42573 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2487093 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json | redhat-SADP | |
| https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7 | [email protected] | ProductRelease Notes |
| https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | redhat-SADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| svelte svelte | < 5.55.7 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2026 | Initial Analysis | [email protected] |
| Jun 9, 2026 | New CVE Received | [email protected] |