{"id":"GHSA-9rmh-mm8f-r9h6","summary":"Svelte: ReDoS in `\u003csvelte:element\u003e` Tag Validation","details":"An internal regex in the Svelte runtime can take exponential time to test in `\u003csvelte:element this={tag}\u003e\u003c/svelte:element\u003e`. You are only vulnerable to this if you allow tags of unconstrained length. If your application only allows a predetermined list of tags or trims their length before passing them to `svelte:element`, you are safe.","aliases":["CVE-2026-42567"],"modified":"2026-06-09T18:45:23.337407449Z","published":"2026-05-14T20:29:05Z","database_specific":{"github_reviewed_at":"2026-05-14T20:29:05Z","nvd_published_at":"2026-06-09T17:17:07Z","cwe_ids":["CWE-1333"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-9rmh-mm8f-r9h6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42567"},{"type":"PACKAGE","url":"https://github.com/sveltejs/svelte"},{"type":"WEB","url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7"}],"affected":[{"package":{"name":"svelte","ecosystem":"npm","purl":"pkg:npm/svelte"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.51.5"},{"fixed":"5.55.7"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 5.55.6","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9rmh-mm8f-r9h6/GHSA-9rmh-mm8f-r9h6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}