Live threats

All CVEs / Svelte

CVE-2026-27902Svelte

Medium 5.3 No auth needed

Priority
47
CVSS 4.0
5.3
EPSS
—
Auth required
No
Published
Feb 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svelte.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm svelte ≥ 5.53.0 < 5.53.5 5.53.5 npm install svelte@5.53.5

Per OSV / GitHub Advisories (GHSA-qgvg-pr8v-6rr3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sveltesvelte≥ 5.53.0 < 5.53.5

Official sources

References

Links published by the sources. Open them with care.