CVE-2026-42573: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sveltejs svelte
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.
AI Analysis
Technical Summary
CVE-2026-42573 is a cross-site scripting (XSS) vulnerability in the Svelte web framework. The issue arises from improper neutralization of input during web page generation, specifically allowing DOM clobbering of Svelte's internal framework state on elements. This vulnerability affects all versions before 5.55.7 and has been fixed in version 5.55.7. The CVSS 4.0 base score is 5.3, indicating a medium severity level. The vulnerability requires network access, has high attack complexity, and partial impact on confidentiality and integrity. No known exploits are reported in the wild. The vendor advisory from Red Hat confirms the vulnerability and the fix but does not provide additional remediation details.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to perform cross-site scripting attacks by manipulating the DOM and clobbering internal framework state, potentially leading to unauthorized script execution in the context of the affected web application. This can compromise the confidentiality and integrity of user interactions with the application. The impact is rated medium severity with partial confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
A fix is available in Svelte version 5.55.7. Users and developers should upgrade to version 5.55.7 or later to remediate this vulnerability. The vendor advisory does not indicate any alternative mitigations or that no action is required. Therefore, upgrading is the recommended remediation.
CVE-2026-42573: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sveltejs svelte
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.
CVSS v4.0
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42573 is a cross-site scripting (XSS) vulnerability in the Svelte web framework. The issue arises from improper neutralization of input during web page generation, specifically allowing DOM clobbering of Svelte's internal framework state on elements. This vulnerability affects all versions before 5.55.7 and has been fixed in version 5.55.7. The CVSS 4.0 base score is 5.3, indicating a medium severity level. The vulnerability requires network access, has high attack complexity, and partial impact on confidentiality and integrity. No known exploits are reported in the wild. The vendor advisory from Red Hat confirms the vulnerability and the fix but does not provide additional remediation details.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to perform cross-site scripting attacks by manipulating the DOM and clobbering internal framework state, potentially leading to unauthorized script execution in the context of the affected web application. This can compromise the confidentiality and integrity of user interactions with the application. The impact is rated medium severity with partial confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
A fix is available in Svelte version 5.55.7. Users and developers should upgrade to version 5.55.7 or later to remediate this vulnerability. The vendor advisory does not indicate any alternative mitigations or that no action is required. Therefore, upgrading is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-28T17:26:12.084Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-42573","vendor":"Red Hat"}]
Threat ID: 6a284cbb8dd33fbd8566453d
Added to database: 06/09/2026, 17:26:19 UTC
Last enriched: 07/15/2026, 09:17:16 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 43
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.