CVE-2026-27902
Description
Svelte performance oriented web framework. Prior to version 5.53.5, errors from `transformError` were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from `transformError`. Version 5.53.5 fixes the issue.
CWE
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected
- sveltejs / svelte — v=>= 5.53.0, < 5.53.5 [affected]
CVSS
- 4.0 score=5.3 severity=MEDIUM
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
References
- https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3 x_refsource_CONFIRM
- https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9 x_refsource_MISC
- https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5 x_refsource_MISC
Source
cvelistV5-main/cves/2026/27xxx/CVE-2026-27902.json