CVE-2026-42573
published medium CVSS 4.0 · 5.3Svelte: XSS via DOM Clobbering of Internal Framework State
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | svelte< 5.55.7 | Affected | Not stated | GitHub_M |
| Red Hat | — | rh-podman-desktop.gitRed Hat Build of Podman Desktop | Unaffected | Not required | redhat-SADP |
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 flaw was found in Svelte, a web framework. An attacker could exploit a DOM clobbering vulnerability, which allows manipulation of the Document Object Model (DOM) to overwrite internal framework state on elements. This could potentially lead to Cross-Site Scripting (XSS) attacks, enabling the attacker to inject malicious scripts into web pages viewed by other users.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | svelte | < 5.55.7 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Build of Podman Desktop | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://access.redhat.com/security/cve/CVE-2026-42573
- RHBZ#2487093 https://bugzilla.redhat.com/show_bug.cgi?id=2487093
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json
Provider assertions
3GitHub_M · cna
Svelte: XSS via DOM Clobbering of Internal Framework State
redhat-SADP · adp
svelte: Svelte: Cross-Site Scripting via DOM Clobbering
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 259db53702500ef8e5bc455adf05f91fdab67906bf9cc85a772e282b8d18ffae
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record