Svelte: ReDoS in `<svelte:element>` Tag Validation
cve-program · CVE-2026-42567
PublishedSvelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the Svelte runtime can take exponential time to test in <svelte:element this={tag}></svelte:element>. This issue has been patched in version 5.55.7.
Read the publisher's advisoryeuvd · EUVD-2026-35702
PublishedSvelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the Svelte runtime can take exponential time to test in <svelte:element this={tag}></svelte:element>. This issue has been patched in version 5.55.7.
Read the publisher's advisorynvd · CVE-2026-42567
PublishedSvelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the Svelte runtime can take exponential time to test in <svelte:element this={tag}></svelte:element>. This issue has been patched in version 5.55.7.
Read the publisher's advisoryosv · GHSA-9rmh-mm8f-r9h6
PublishedAn internal regex in the Svelte runtime can take exponential time to test in `<svelte:element this={tag}></svelte:element>`. 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.
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-42567 · CVE overview and exploitation status
cve-program · CVE-2026-42567
- https://github.com/sveltejs/svelte/security/advisories/GHSA-9rmh-mm8f-r9h6
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
euvd · EUVD-2026-35702
- https://github.com/sveltejs/svelte/security/advisories/GHSA-9rmh-mm8f-r9h6
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
nvd · CVE-2026-42567
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7
- https://github.com/sveltejs/svelte/security/advisories/GHSA-9rmh-mm8f-r9h6
osv · GHSA-9rmh-mm8f-r9h6
Related changes
Linked by CVE identifierNo related changes are available here.