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

Published Feb 19, 2026
·
Updated

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.

Other sources

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.

NVD

Affected Software

2 affected componentsFixes available
npm/svelte>=5.39.3<5.51.5
5.51.5
svelte Svelte Node.js>=5.39.3<5.51.5

Event History

Feb 19, 2026
Advisory Published
via GitHub·03:18 PM
Data Sourced
via GitHub·03:18 PM
DescriptionWeaknessAffected Software
Feb 20, 2026
CVE Published
via MITRE·10:25 PM
Data Sourced
via MITRE·10:25 PM
DescriptionWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software
Jan 24, 58126
Event
via FIRST·01:54 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-27119?

CVE-2026-27119 is categorized as a medium severity vulnerability due to the potential for HTML injection.

2

How do I fix CVE-2026-27119?

To fix CVE-2026-27119, update the Svelte package to version 5.51.5 or later.

3

What types of applications are affected by CVE-2026-27119?

CVE-2026-27119 affects server-side rendering of applications using the Svelte framework in specific versions.

4

Does CVE-2026-27119 affect client-side rendering?

No, CVE-2026-27119 only affects the server-side rendering output and does not impact client-side rendering.

5

What can happen if CVE-2026-27119 is exploited?

Exploitation of CVE-2026-27119 could lead to unauthorized HTML content being injected into the server-side rendered output.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203