Svelte: XSS via DOM Clobbering of Internal Framework State
cve-program · CVE-2026-42573
PublishedSvelte 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.
Read the publisher's advisoryeuvd · EUVD-2026-35701
PublishedSvelte 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.
Read the publisher's advisorynvd · CVE-2026-42573
PublishedSvelte 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.
Read the publisher's advisoryosv · GHSA-rcqx-6q8c-2c42
PublishedSvelte 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 ```svelte <form {...spread1}> <input {...spread2}> </form> ```
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-42573 · CVE overview and exploitation status
cve-program · CVE-2026-42573
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
euvd · EUVD-2026-35701
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
nvd · CVE-2026-42573
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
- https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42
- https://access.redhat.com/security/cve/CVE-2026-42573
- https://bugzilla.redhat.com/show_bug.cgi?id=2487093
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json
osv · GHSA-rcqx-6q8c-2c42
Related changes
Linked by CVE identifierNo related changes are available here.