sveltejs/svelte · Security
Svelte affected by XSS in SSR `<option>` element
- GHSA ID
- GHSA-h7h7-mm68-gmrc
- CVE ID
- CVE-2026-27119
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.1 · CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')