XSS in Svelte
CVE-2026-42573
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 28.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Svelte
- Sveltejs Svelte — versions < 5.55.7
Weakness classification (CWE)
References
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7 (Product, Release Notes)
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42 (Vendor Advisory)
- access.redhat.com/security/cve/CVE-2026-42573
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json