CVE-2026-27119
MEDIUM 5.1CVSS 4.0Svelte affected by XSS in SSR `<option>` element
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.
- Published
- 20 Feb 2026
- Last modified
- 21 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-h7h7-mm68-gmrc
- Sources
- NVDJSONOSV GHSA-h7h7-mm68-gmrcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | svelte | sveltecpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:* |
>= 5.39.3, < 5.51.5 | 5.51.5 |
| OSV | npm | svelte | >= 5.39.3, < 5.51.5 | 5.51.5 |
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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Feb 2026)