CVE-2026-41067

MEDIUM CVSS 3.1: 6.1 EPSS 0.20%
Updated Oct 27, 2026
Astro
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions before 6.1.6
Fixed In 6.1.6
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Astro
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Astro Astro
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
— 6.1.6