GitHub Advisory Database
GHSA-h7h7-mm68-gmrc
Svelte affected by XSS in SSR `<option>` element
Details
In certain circumstances, the server-side rendering output of an <option> element does not properly escape its content, potentially allowing HTML injection in the SSR output. Client-side rendering is not affected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | svelte | From 5.39.3 before 5.51.5 (fixed in 5.51.5) |