svelte
Affected
- introduced
5.53.0, fixed5.53.5(semver)
Fixed versions
5.53.5
Fix
- Fixed version
5.53.5npm install [email protected]
Advisory
Also known as: CVE-2026-27902
Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
Errors from transformError were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from transformError.
Medium Basis: The source's own band: MODERATE
5.53.0, fixed 5.53.5 (semver)5.53.5
5.53.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