5.1medium
Svelte affected by XSS in SSR `<option>` element
- Severity
- 5.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h7h7-mm68-gmrc
Description
svelte performance oriented web framework. From 5.39.3, <=5.51.4, 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. This vulnerability is fixed in 5.51.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sveltejs svelte | >= 5.39.3, < 5.51.5 | CVE List |
| svelte (npm) | from 5.39.3 before 5.51.5 | GitHub Advisory Database |
| svelte svelte | from 5.39.3 before 5.51.5 | NVD |
All scores
| GitHub_M | 5.1medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
svelte performance oriented web framework. From 5.39.3, <=5.51.4, 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. This vulnerability is fixed in 5.51.5.
GitHub Advisory Database
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.
NVD (es)
framework web svelte orientado al rendimiento. Desde 5.39.3, <=5.51.4, en ciertas circunstancias, la salida de renderizado del lado del servidor de un elemento no escapa correctamente su contenido, lo que podría permitir la inyección de HTML en la salida SSR. El renderizado del lado del cliente no se ve afectado. Esta vulnerabilidad se ha corregido en 5.51.5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27119 changed 2026-02-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h7h7-mm68-gmrc changed 2026-11-21 | CC-BY-4.0 |
| NVD | CVE-2026-27119 changed 2026-06-17 | Public domain |