GitHub Advisoryadvisory · npm
GHSA-h7h7-mm68-gmrc Svelte affected by XSS in SSR `<option>` element
MEDIUM
Official page ↗
- Aliases
- CVE-2026-27119
- Ecosystem
- npm
- Packages
- svelte
- Severity
- Moderate
- CVSS vector
- 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
- Weaknesses
- CWE-79
- Reviewed
- 2026-02-19
Affected packages
• npm svelte: >= 5.39.3, < 5.51.5 → fixed in 5.51.5
Description
In certain circumstances, the server-side rendering output of an `` element does not properly escape its content, potentially allowing HTML injection in the SSR output. Client-side rendering is not affected.
Related
Alias · CVE (1)
- CVE-2026-27119 svelte performance oriented web framework. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness