Servers and applications
CVE-2026-42573
XSS via DOM Clobbering of Internal Framework State
- Severity
- Medium 5.3
- Published
- 14 May 2026
- Last changed
- 14 May 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 5.55.7
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read some data
- CVSS vector
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- Also known as
- GHSA-rcqx-6q8c-2c42
- Sources
- Project advisories (GitHub)
Description
Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks.
You are vulnerable if all of the following is true:
- you are using attribute spreading on a form element
- you are using attribute spreading or allow a dynamic value for the name attribute on an input or button element within that form
- both of these are simultaneously user-controllable
Affected software
| Software | Affected versions |
|---|---|
SvelteServers and applications · github:sveltejs/svelte |
|
About Svelte
JavaScript framework
- Share of all websites
- 0.1%W3Techs, Nov 2026
- Developers who used it in the past year
- 7.2%Stack Overflow Developer Survey 2025, 2025
- Weekly downloads (npm)
- 9,685,203npm, 15 Nov 2026
- GitHub stars
- 88,754GitHub, 15 Nov 2026
- Forks
- 6,054GitHub, 15 Nov 2026
- Latest release
- [email protected]GitHub, 15 Nov 2026
- Released
- 26 Oct 2026GitHub
- Developer
- Rich HarrisWikidata
- License
- MIT LicenseWikidata
- Written in
- JavaScriptWikidata
- First released
- 26 Nov 2016Wikidata
- First published on GitHub
- 20 Nov 2016GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 5 | 5.57.3 | Yes |
| 4 | 4.2.20 | Ended 19 Oct 2024 |
| 3 | 3.59.2 | Ended 22 Jun 2023 |
| 2 | 2.16.1 | Ended 21 Apr 2019 |
| 1 | 1.64.1 | Ended 19 Apr 2018 |
From endoflife.date.
Vulnerabilities in Svelte
- In our list
- 10
- Published in the last 12 months
- 9
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-42599Cross-site scripting via spread attributes in Svelte SSRMedium 5.1 14 May 2026
- CVE-2026-27901XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`Medium 5.3 25 Feb 2026
- CVE-2026-27119XSS in SSR `<option>` elementMedium 5.1 18 Feb 2026
- CVE-2026-27121Cross-site scripting via spread attributes in Svelte SSRMedium 5.1 18 Feb 2026
- CVE-2026-27122Svelte SSR does not validate dynamic element tag names in `<svelte:element>`Medium 5.1 18 Feb 2026
- CVE-2026-27125Svelte SSR attribute spreading includes inherited properties from prototype chainMedium 5.3 18 Feb 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-42573
- GitHub Advisory Database https://github.com/advisories/GHSA-rcqx-6q8c-2c42
- github.com https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42