
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27119 is a Cross-Site Scripting (XSS) vulnerability in the Svelte JavaScript framework affecting server-side rendering (SSR) of <option> elements. In certain circumstances, the SSR 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. The vulnerability affects Svelte versions >= 5.39.3 and < 5.51.5 (npm package). It was published on February 18, 2026, and carries a CVSS v3.1 score of 5.4 (Medium) and a CVSS v4.0 score of 5.1 (Medium) (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically arising from insufficient output escaping in Svelte's SSR rendering path for <option> HTML elements (GitHub Advisory). An attacker who can influence the content rendered inside an <option> element during SSR (e.g., via user-controlled data passed to a Svelte component) can inject arbitrary HTML into the server-rendered page. Exploitation requires high privileges and specific deployment conditions (attack requirements: present), and is only exploitable via the SSR code path — client-side hydration and rendering are unaffected (Svelte Security Advisory).
Successful exploitation could allow an attacker to inject malicious HTML or JavaScript into server-rendered pages, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of victims who view the affected page. The CVSS v4.0 scoring indicates high confidentiality and integrity impact on subsequent systems (e.g., user browsers), while the vulnerable system itself sees only low confidentiality impact and no availability impact. Availability is not affected by this vulnerability (GitHub Advisory).
No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.043% (0.012% per GitHub Advisory, 2nd percentile), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been identified (GitHub Advisory).
<option> elements.<option> element context, such as </option><script>alert(document.cookie)</script> or similar HTML injection strings.<option> element (e.g., form fields, URL parameters, or database-stored values displayed in a dropdown).<script>, </option>) within <option> element content in page source.<option> elements; anomalous input values containing <, >, or </option> sequences submitted to form endpoints.The vulnerability is fixed in Svelte version 5.51.5 (npm). All users running Svelte >= 5.39.3 and <= 5.51.4 should upgrade to 5.51.5 immediately. No specific configuration-based workaround has been published; the recommended remediation is to update the svelte npm package to the patched version (GitHub Advisory, Svelte Security Advisory). As a temporary measure, developers can audit SSR code paths to ensure user-controlled data is manually sanitized before being passed to <option> elements.
The advisory was published by elliott-with-the-longest-name-on-github to the sveltejs/svelte repository on February 18, 2026, and was reviewed and added to the GitHub Advisory Database on February 19, 2026. Red Hat tracked the issue via Bugzilla (Bug 2441526) and classified it as medium severity. No significant broader media coverage or notable researcher commentary beyond the official advisory has been identified (GitHub Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."