CVE-2026-27122

svelte performance oriented web framework. Prior to 5.51.5, when using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.
Configurations

Configuration 1 (hide)

cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-02-20 23:16

Updated : 2026-02-23 20:53


NVD link : CVE-2026-27122

Mitre link : CVE-2026-27122

CVE.ORG link : CVE-2026-27122


JSON object : View

Products Affected

svelte

  • svelte
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')