CVE-2026-27119: sveltejs svelte · Cross-site Scripting
Affects sveltejs svelteSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 5.51.5 when convenient.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 29 Oct 2026.
What to do
Upgrade sveltejs svelte to 5.51.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sveltejssvelte | Affected
| Fixed in
|
AI-suggested
To mitigate CVE-2026-27119, organizations should immediately upgrade all Svelte framework instances to version 5.51.5 or later, where the vulnerability is patched. For environments where immediate upgrading is not feasible, implement strict input validation and sanitization on all data used in server-side rendering, especially for content rendered within <option> elements. Employ Content Security Policy (CSP) headers to restrict the execution of injected scripts and reduce the impact of potential XSS attacks. Conduct thorough code reviews and security testing focused on SSR output escaping mechanisms. Additionally, restrict access to administrative or privileged accounts to reduce the risk of exploitation requiring partial authentication. Monitor application logs and web traffic for unusual patterns indicative of injection attempts. Educate developers on secure coding practices related to SSR and HTML escaping. Finally, maintain an up-to-date inventory of all applications using Svelte SSR to ensure timely patching and vulnerability management.
Description
svelte performance oriented web framework. From 5.39.3, <=5.51.4, in certain circumstances, the server-side rendering output of an <option> element does not properly escape its content, potentially allowing HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.