Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. svelte
  4. ›
  5. CVE-2026-27119

CVE-2026-27119: Svelte affected by XSS in SSR `<option>` element

February 19, 2026 (updated February 23, 2026)

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.

References

  • github.com/advisories/GHSA-h7h7-mm68-gmrc
  • github.com/sveltejs/svelte
  • github.com/sveltejs/svelte/security/advisories/GHSA-h7h7-mm68-gmrc
  • nvd.nist.gov/vuln/detail/CVE-2026-27119

Code Behaviors & Features

Detect and mitigate CVE-2026-27119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.39.3 before 5.51.5

Fixed versions

  • 5.51.5

Solution

Upgrade to version 5.51.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/svelte/CVE-2026-27119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:52 +0000.