svelte
Affected
- introduced
0, fixed5.51.5(semver)
Fixed versions
5.51.5
Fix
- Fixed version
5.51.5npm install [email protected]
Advisory
Also known as: CVE-2026-27122
Svelte SSR does not validate dynamic element tag names in <svelte:element>
When using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected.
Medium Basis: The source's own band: MODERATE
0, fixed 5.51.5 (semver)5.51.5
5.51.5npm 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