CVE-2026-27121: Svelte - Stored XSS
- Cve: CVE-2026-27121
- Name: Svelte - Stored XSS
- 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.
- Impact: Attackers can inject malicious scripts that execute in victims' browsers, leading to session hijacking or other client-side attacks.
- Remediation: Update to version 5.51.5 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00217
- Epss percentile: 0.12138
- Assignee: [email protected]
- Published at: 2026-02-20T23:16:02Z
- Age in days: 277
- Modified at: 2026-06-17T10:26:42Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27121
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/sveltejs/svelte/security/advisories/GHSA-f7gr-6p89-r883 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| svelte:svelte | < 5.51.5 | no | nvd | /v1/products/svelte/svelte |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sveltejs/svelte | fix, package, security_advisory | yes | /v1/repositories/sveltejs/svelte |
Index
- Repositories: 73
- Repositories high signal: 60
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts