svelte
Affected
- introduced
5.51.5, fixed5.55.7(semver)
Fixed versions
5.55.7
Fix
- Fixed version
5.55.7npm install [email protected]
Advisory
Also known as: CVE-2026-42567
Svelte: ReDoS in <svelte:element> Tag Validation
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.
Medium Basis: The source's own band: MODERATE
5.51.5, fixed 5.55.7 (semver)5.55.7
5.55.7npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0