{"id":"CVE-2026-42573","aliases":["CVE-2026-42573","GHSA-rcqx-6q8c-2c42"],"related":[],"kind":"vulnerability","state":"published","title":"Svelte: XSS via DOM Clobbering of Internal Framework State","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Svelte es un framework web orientado al rendimiento. Antes de la versión 5.55.7, Svelte era vulnerable a DOM clobbering de su estado interno del framework en elementos, lo que podría llevar a ataques XSS. Este problema ha sido parcheado en la versión 5.55.7.","source":"nvd"}],"published":"2026-05-14T20:29:13.000Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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":5.3,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.55.7","status":"affected"}],"vendor":"sveltejs","product":"svelte","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","package":"rh-podman-desktop.git","cpe":"cpe:/a:redhat:podman_desktop:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.55.7"}],"ecosystem":"npm","package":"svelte","purl":"pkg:npm/svelte","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.55.7"}],"vendor":"svelte","product":"svelte","cpe":"cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42573","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487093","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42573.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42573","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/svelte","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-09T18:25:38.450Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42573","url":"https://www.cve.org/CVERecord?id=CVE-2026-42573","licence":"CVE Terms of Use","modified":"2026-07-15T00:57:09.078Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rcqx-6q8c-2c42","url":"https://github.com/advisories/GHSA-rcqx-6q8c-2c42","licence":"CC-BY-4.0","modified":"2026-06-09T18:45:28.738Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42573","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42573","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.131Z","epss":{"score":0.00342,"percentile":0.29724,"date":"2026-12-01T12:00:22.000Z"}}