Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-50146— Astro: Reflected XSS via unescaped slot name

Quick assessment

Affected
withastro astro
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Astro是Astro团队开源的一个内容驱动网站的 web 框架。 Astro 6.3.3之前版本存在跨站脚本漏洞,该漏洞源于当组件使用client:*指令时,Astro将命名槽内容插入data-astro-template属性且未对槽名称进行HTML转义,可能允许攻击者突破属性环境并注入任意HTML,导致服务端渲染期间的反射型跨站脚本攻击。

CVSS 7.1 · High EPSS 0.27% · P17

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
withastro astro < 6.3.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50146

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Astro: Reflected XSS via unescaped slot name
Source: CVE Program / CVE List V5
Vulnerability Description
Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content into a data-astro-template attribute without HTML escaping the slot name allowing an attacker to break out of the attribute context and inject arbitrary HTML, resulting in reflected XSS during SSR. This vulnerability is fixed in 6.3.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Astro 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Astro是Astro团队开源的一个内容驱动网站的 web 框架。 Astro 6.3.3之前版本存在跨站脚本漏洞,该漏洞源于当组件使用client:*指令时,Astro将命名槽内容插入data-astro-template属性且未对槽名称进行HTML转义,可能允许攻击者突破属性环境并注入任意HTML,导致服务端渲染期间的反射型跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
withastro astro < 6.3.3 -

II. Public POCs for CVE-2026-50146

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 5768 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-50146

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-50146 (1)

Same Patch Batch · withastro · 2026-06-22 · 4 CVEs total

CVE-2026-54299 7.5 HIGH Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPa
CVE-2026-54300 5.3 MEDIUM @astrojs/netlify broadens Astro image.remotePatterns in Netlify Image CDN config
CVE-2026-54298 4.2 MEDIUM Astro: XSS via Unescaped Attribute Names in Spread Props

IV. Related Vulnerabilities

V. Comments for CVE-2026-50146

No comments yet


Leave a comment