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

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-02-19T15:18:19.000Z
- Modified: 2026-11-21T00:00:04.057Z
- Also known as: GHSA-h7h7-mm68-gmrc
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sveltejs svelte: >= 5.39.3, < 5.51.5
- svelte (npm): from 5.39.3 before 5.51.5
- svelte svelte: from 5.39.3 before 5.51.5

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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: CVSS:4.0 Medium `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/sveltejs/svelte/security/advisories/GHSA-h7h7-mm68-gmrc> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27119> (advisory)
- <https://github.com/sveltejs/svelte> (package)
- <https://github.com/sveltejs/svelte/releases/tag/svelte@5.51.5> (web)

## Sources

- CVE List: [CVE-2026-27119](https://www.cve.org/CVERecord?id=CVE-2026-27119), CVE Terms of Use, modified 2026-02-23
- GitHub Advisory Database: [GHSA-h7h7-mm68-gmrc](https://github.com/advisories/GHSA-h7h7-mm68-gmrc), CC-BY-4.0, modified 2026-11-21
- NVD: [CVE-2026-27119](https://nvd.nist.gov/vuln/detail/CVE-2026-27119), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27119 · Whole record: https://cve.day/CVE-2026-27119.json · Rebuilt by cve.day 2026-11-25T22:59:14.427Z
