CVE-2026-42573
Svelte: XSS via DOM Clobbering of Internal Framework State
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jun 9, 2026
- Updated
- Jul 15, 2026
- Reserved
- Apr 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | 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 | GitHub_M |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat-SADP |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
sveltesveltejs |
|
References
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
- https://access.redhat.com/security/cve/CVE-2026-42573vdb-entry
- RHBZ#2487093issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.