CVE-2026-41067
MEDIUM EPSS 8.7%
Published Apr 24, 20262mo ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Published Apr 24, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago
Description
Astro is a web framework. Prior to 6.1.6, the defineScriptVars function in Astro's server-side rendering pipeline uses a case-sensitive regex /<\/script>/g to sanitize values injected into inline <script> tags via the define:vars directive. HTML parsers close <script> elements case-insensitively and also accept whitespace or / before the closing >, allowing an attacker to bypass the sanitization with payloads like </Script>, </script >, or </script/> and inject arbitrary HTML/JavaScript. This vulnerability is fixed in 6.1.6.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
8.7% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| astro | astro | * | <6.1.6 |
References 1
- github.com https://github.com/withastro/astro/security/advisories/GHSA-j687-52p2-xcff
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.