CVE-2026-27901
MEDIUM 5.3CVSS 4.0Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Svelte performance oriented web framework. Prior to version 5.53.5, the contents of bind:innerText and bind:textContent on contenteditable elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.
- Published
- 26 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-phwv-c562-gvmh
- Sources
- NVDJSONOSV GHSA-phwv-c562-gvmhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/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:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/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.53.5 | 5.53.5 |
| NVD | svelte | sveltecpe:2.3:a:svelte:svelte:5.53.5:*:*:*:*:node.js:*:* |
= 5.53.5 | |
| OSV | npm | svelte | < 5.53.5 | 5.53.5 |
References
- https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d · Patch, WEB
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5 · Release Notes
- https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27901 · ADVISORY
- https://github.com/sveltejs/svelte · PACKAGE
- https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Feb 2026)