XSS in Svelte
CVE-2026-27901
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…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (11.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Svelte — versions 5.53.5
- Sveltejs Svelte — versions < 5.53.5
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-27901?
- CVE-2026-27901 is a medium-severity vulnerability in Svelte, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-02-26.
- How severe is CVE-2026-27901?
- Medium severity. CVSS v3 base score is 6.1 out of 10.