5.9Medium
CVE-2026-42567Svelte: ReDoS in `<svelte:element>` Tag Validation
Description
Svelte 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.
Weakness (CWE):
CWE-1333
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/sveltejs/svelte/security/advisories/GHSA-9rmh-mm8f-r9h6 Vendor Advisory
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7 ProductRelease Notes
CPE matches (NVD) (1)
cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*≥ 5.51.5 < 5.55.7