{"id":"GHSA-rcqx-6q8c-2c42","revision":"0f4def7c44f64e9bb8cb601c0dd8ef71","records":[{"revision":"0f4def7c44f64e9bb8cb601c0dd8ef71","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rcqx-6q8c-2c42","aliases":["CVE-2026-42573"],"title":"Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State","description":"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```","state":0,"publishedAt":"2026-05-14T20:29:13+00:00","modifiedAt":"2026-06-09T18:45:28.7386242+00:00","affected":[{"ecosystem":"npm","name":"svelte","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.55.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42","https://nvd.nist.gov/vuln/detail/CVE-2026-42573","https://github.com/sveltejs/svelte","https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7"],"sourceUrl":"https://github.com/advisories/GHSA-rcqx-6q8c-2c42","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rcqx-6q8c-2c42","identifiers":["GHSA-rcqx-6q8c-2c42","CVE-2026-42573"]},"retained":false,"historicalAffected":[]}],"coverage":[]}