Loading
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.
Use CWE-79, Svelte vendor hub and Svelte product page to widen CVE-2026-27122 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2021-29261, CVE-2024-45047 and CVE-2022-25875 for nearby disclosures in the same product family.