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—
ProductSvelte
PublishedFeb 26, 2026
First seenFeb 26, 2026

How to fix

Update
  • svelte svelte5.53.5 or later
  • svelte5.53.5 or later

Affected products

ProductAffected versionsFixed in
svelte svelte5.53.0 ≤ v < 5.53.55.53.5
sveltenpm5.53.0 ≤ v < 5.53.55.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.