, , or and inject arbitrary HTML/JavaScript. This vu", "url": "https://cvefinder.io/cve/CVE-2026-41067", "datePublished": "2026-04-24", "dateModified": "2026-04-27", "identifier": "CVE-2026-41067", "about": "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 , , or and inject arbitrary HTML/JavaScript. This vu", "mainEntity": { "@type": "CreativeWork", "name": "CVE-2026-41067", "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 , , or and inject arbitrary HTML/JavaScript. This vulnerability is fixed in 6.1.6.", "identifier": "CVE-2026-41067", "datePublished": "2026-04-24", "dateModified": "2026-04-27", "url": "https://cvefinder.io/cve/CVE-2026-41067" } }
CVEFinder.io

CVE-2026-41067

🔶 medium
🔍 Scan for this CVE
Summary

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 vu

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 Score
6.1
Medium
EPSS Score
0.0
Exploit Probability
Published Date
2026-04-24
First Seen: 2026-04-27
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 38.8% of all 329,456 vulnerabilities in our database.

#201,538
Below average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Apr 24, 2026
🔍 Exploitation Status
Poc
Proof-of-concept available
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Partial
Limited system impact
SSVC data provided by CISA
Last Modified 2026-04-27
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 1

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-50146 ⚠️ high 7.1 0.2 Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content i... 2026-06-22
CVE-2026-54298 🔶 medium 4.2 0.2 Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro's server-side rendering pipeline iterat... 2026-06-22
CVE-2026-54299 ⚠️ high 7.5 0.2 Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const p... 2026-06-22
CVE-2026-45028 🔶 medium 6.1 0.0 Astro is a web framework. Astro versions prior to 6.1.10 used AES-GCM encryption to protect the confidentiality and inte... 2026-05-13
CVE-2026-33769 🔶 medium 5.3 0.0 Astro is a web framework. From version 2.10.10 to before version 5.18.1, this issue concerns Astro's remotePatterns path... 2026-03-24
CVE-2025-66202 🔶 medium 6.5 0.3 Astro is a web framework. Versions 5.15.7 and below have a double URL encoding bypass which allows any unauthenticated a... 2025-12-09
These CVEs affect the same products