CVE-2026-42567

Svelte: ReDoS in `<svelte:element>` Tag Validation

State
Published
Severity
5.9 Medium
Published
Jun 9, 2026
Updated
Jun 9, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity

Affected Products

ProductVersions
sveltesveltejs
  • >= 5.51.5, < 5.55.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.