CVE-2026-27902
Medium
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.
SeverityMedium
CVSS5.4
Exploit probability—
Product
Svelte
PublishedFeb 26, 2026
First seenFeb 26, 2026
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- svelte svelte5.53.5 or later
- svelte5.53.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| svelte svelte | 5.53.0 ≤ v < 5.53.5 | 5.53.5 |
| sveltenpm | 5.53.0 ≤ v < 5.53.5 | 5.53.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.