What’s Vulnerable › Vulnerabilities

CVE-2026-42567: Svelte: 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.

Affected products

How to fix

Upgrade to a fixed version: sveltejs svelte 5.55.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-42567 or the next vulnerability affects your stack