ADVISORIES

GitHub Advisory Database

GHSA-h7h7-mm68-gmrc

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

Moderate CVE-2026-27119

Details

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.

Affected packages

EcosystemPackageAffected versions
npmsvelte
From 5.39.3 before 5.51.5 (fixed in 5.51.5)

References