PT-2026-20873 · Npm · Svelte

Published

2026-02-19

·

Updated

2026-02-19

CVSS v4.0

5.1

Medium

VectorAV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
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.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-M56Q-VW4C-C2CP

Affected Products

Svelte