NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-27119: Svelte affected by XSS in SSR `<option>` element

mediumCVSS 4.0 5.1GHSA-h7h7-mm68-gmrc

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.

Published Feb 19, 2026 · Updated Nov 20, 2026

Affected packages

svelte

Ecosystem
npm
Affected
>= 5.39.3, < 5.51.5
Fixed in
5.51.5
Check
npm ls svelte

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to elliott-with-the-longest-name-on-github, enismaholli, aungzayyanaing.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries