Vulnerability GHSA-9rmh-mm8f-r9h6

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
May 14, 2026 at 08:29 PM UTC
Svelte: ReDoS in `<svelte:element>` Tag Validation
>=5.51.5 <5.55.7
>=5.51.5 <5.55.7

Summary

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

Details

An 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.

Impacted packages

Timeline

Published
6 months ago
May 14, 2026 at 08:29 PM UTC
Fixed (5.55.7)
6 months ago
May 15, 2026 at 06:01 AM UTC
Last Modified
5 months ago
June 09, 2026 at 06:45 PM UTC