5.9Medium

CVE-2026-42567Svelte: ReDoS in `<svelte:element>` Tag Validation

sveltejs svelte Published: (5 months ago)

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

VendorProductVersions
svelte svelte 5.51.5 – < 5.55.7
sveltejs svelte >= 5.51.5, < 5.55.7

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:* ≥ 5.51.5 < 5.55.7