CVE-2026-27125: Ssr Unvalidated Dynamic Tag Injection

During server-side rendering (SSR), dynamic HTML tag names are directly interpolated into the HTML output string without validation. If 'tag' is controlled by an attacker, they can supply malicious characters (like spaces and angle brackets) to break out of the tag context and inject arbitrary HTML attributes or elements, leading to Cross-Site Scripting (XSS

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-27125-ssr-unvalidated-dynamic-tag-injection --engine opengrep

Description

During server-side rendering (SSR), dynamic HTML tag names are directly interpolated into the HTML output string without validation. If 'tag' is controlled by an attacker, they can supply malicious characters (like spaces and angle brackets) to break out of the tag context and inject arbitrary HTML attributes or elements, leading to Cross-Site Scripting (XSS