CVE-2026-27119
JSON

5.1medium

Svelte affected by XSS in SSR `<option>` element

Severity
5.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-h7h7-mm68-gmrc

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.

Affected

Product or packageVersionsReported by
sveltejs svelte>= 5.39.3, < 5.51.5CVE List
svelte (npm)from 5.39.3 before 5.51.5GitHub Advisory Database
svelte sveltefrom 5.39.3 before 5.51.5NVD

All scores

GitHub_M5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

framework web svelte orientado al rendimiento. Desde 5.39.3, &lt;=5.51.4, en ciertas circunstancias, la salida de renderizado del lado del servidor de un elemento no escapa correctamente su contenido, lo que podría permitir la inyección de HTML en la salida SSR. El renderizado del lado del cliente no se ve afectado. Esta vulnerabilidad se ha corregido en 5.51.5.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27119 changed 2026-02-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-h7h7-mm68-gmrc changed 2026-11-21CC-BY-4.0
NVDCVE-2026-27119 changed 2026-06-17Public domain