CVE-2026-27121: Svelte affected by cross-site scripting via spread attributes in Svelte SSR
Vulnerability summary
CVE-2026-27121 is a medium (CVSS 5.4) vulnerability in svelte. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.6% of scored vulnerabilities.
Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 20-02-2026PublishedVulnerability first disclosed.
- 23-02-2026Last modifiedVulnerability information updated.
Description
svelte performance oriented web framework. Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. This vulnerability is fixed in 5.51.5.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- OSV · NpmEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
- NVDNIST5.1MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/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
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- langfuse-2-workerAll versions (No fix recorded)
- langfuse-3-worker< 3.163.0-r0
- langfuse-fips-2-workerAll versions (No fix recorded)
- langfuse-fips-3-worker< 3.163.0-r0
- langfuse-fips-3.152-workerAll versions (No fix recorded)
Npm1 product
- svelte< 5.51.5
Svelte1 product
- svelte< 5.51.5
Sveltejs1 product
- svelte< 5.51.5
Wolfi1 product
- langfuse-3-worker< 3.163.0-r0
5 vendors · 9 products
References
4 links- github.com/sveltejs/svelte/security/advisories/GHSA-f7gr-6p89-r883X Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/sveltejs/sveltePACKAGE