Back to CVE records
Medium 5.1Published Feb 20, 2026

CVE-2026-27121Svelte affected by cross-site scripting via spread attributes in Svelte SSR

Updated under an hour ago ()

Does this affect you?

It affects sveltejs svelte and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
5.1 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 23, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
sveltejs svelte
sveltejs:svelte (from the name)
before 5.51.5
CNA record
svelte svelte
svelte:svelte
before 5.51.5
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.