{"id":"CVE-2026-42573","aliases":["GHSA-rcqx-6q8c-2c42"],"url":"https://o3.security/vulnerability/CVE-2026-42573","summary":"Svelte: XSS via DOM Clobbering of Internal Framework State","details":"Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks.\n\nYou are vulnerable if all of the following is true:\n- you are using attribute spreading on a form element\n- you are using attribute spreading or allow a dynamic value for the `name` attribute on an input or button element within that form\n- both of these are simultaneously user-controllable\n\n```svelte\n<form {...spread1}>\n  <input {...spread2}>\n</form>\n```","published":"2026-06-09T16:21:29.313Z","modified":"2026-08-12T03:51:33.793408140Z","cvss":null,"epss":{"score":0.00319,"percentile":0.24776,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"svelte","fixedVersion":"5.55.7"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-42573"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42573.json"},{"type":"ADVISORY","url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42573"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487093"},{"type":"PACKAGE","url":"https://github.com/sveltejs/svelte"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:33.793408140Z"}}