Web Framework Vulnerability in Astro by WithAstro
CVE-2026-41067
6.1MEDIUM
What is CVE-2026-41067?
Astro, a popular web framework, suffered from a vulnerability due to improper sanitization within its server-side rendering pipeline. Specifically, the function responsible for processing script variables used a case-sensitive regex to clean values injected into inline tags. This oversight allowed attackers to bypass the checks using variations of the script closing tag, such as '' or ''. Consequently, this could lead to the injection of arbitrary HTML/JavaScript, posing a significant risk to users. The issue was rectified in version 6.1.6.
Affected Version(s)
astro < 6.1.6
