Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.01% · P1
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-27121

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Svelte affected by cross-site scripting via spread attributes in Svelte SSR
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Svelte 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Svelte是Svelte开源的一种构建 Web 应用程序的新方法。 Svelte 5.51.5之前版本存在跨站脚本漏洞,该漏洞源于服务器端渲染期间使用扩展语法时包含事件处理程序属性,可能导致跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
sveltejssvelte < 5.51.5 -

II. Public POCs for CVE-2026-27121

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-27121

登录查看更多情报信息。

Same Patch Batch · sveltejs · 2026-02-20 · 5 CVEs total

CVE-2026-27119Svelte affected by XSS in SSR `<option>` element
CVE-2026-27125Svelte SSR attribute spreading includes inherited properties from prototype chain
CVE-2026-27118Cache poisoning in @sveltejs/adapter-vercel
CVE-2026-27122Svelte SSR does not validate dynamic element tag names in `<svelte:element>`

IV. Related Vulnerabilities

V. Comments for CVE-2026-27121

No comments yet


Leave a comment