Skip to main content
VulnerabilityPublished Updated

CVE-2026-27119: Svelte Affected by XSS

Affects svelteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-27119· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium : upgrade to 5.51.5 when convenient.

Data as of 21 Nov 2026, 00:32 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.51.5
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade svelte to 5.51.5.

Affected software

ProductAffectedFixed in
npmsvelteAffected
  • >=5.39.3 <5.51.5
Fixed in
  • 5.51.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Svelte to version 5.51.5 or later, where this vulnerability has been fixed. No other mitigation is indicated or required by the vendor advisory.

Description

A cross-site scripting (XSS) vulnerability exists in Svelte's server-side rendering (SSR) of the <option> element, where content is not properly escaped under certain conditions. This flaw allows potential HTML injection in SSR output but does not affect client-side rendering. The issue affects Svelte versions from 5.39.3 up to but not including 5.51.5 and has been assigned CVE-2026-27119. A fix is available in version 5.51.5.

References

Community reviews

Loading reviews…