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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-73422— Astro: Reflected XSS via unescaped View Transition animation properties

Quick assessment

Affected
withastro astro
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Astro Astro是Astro组织开源的一个内容驱动网站的 web 框架。 Astro 2.9.0版本至7.1.0之前版本存在跨站脚本漏洞,该漏洞源于服务端View Transition CSS生成器将动画属性插入内联样式元素时未对CSS和HTML上下文进行转义,可能导致攻击者注入任意HTML或JavaScript,从而执行任意JavaScript并访问敏感页面数据或执行受害者可用的认证操作。

CVSS 5.3 · Medium EPSS 0.55% · P44

Affected Version Matrix 1

VendorProduct Version RangeStatus
withastro astro >= 2.9.0, < 7.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-73422

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 View Transition animation properties
Source: CVE Program / CVE List V5
Vulnerability Description
Astro is a web framework for content-driven websites. From 2.9.0 until 7.1.0, Astro's server-side View Transition CSS generator interpolates animation properties into an inline style element without escaping them for CSS and HTML contexts. An attacker-controlled View Transition animation value such as duration can terminate the generated style element and inject arbitrary HTML or JavaScript. The affected code is packages/astro/src/runtime/server/transition.ts; renderTransition passes sheet.toString() into markHTMLString(), while addAnimationProperty serializes duration through toTimeValue() and also handles easing, direction, delay, fillMode, and name. Exploitation requires an on-demand or server-rendered route to pass attacker-controlled data into a View Transition animation definition and can execute arbitrary JavaScript in the affected application's origin, allowing access to sensitive page data and authenticated actions available to the victim. This issue is fixed in version 7.1.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Astro 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Astro Astro是Astro组织开源的一个内容驱动网站的 web 框架。 Astro 2.9.0版本至7.1.0之前版本存在跨站脚本漏洞,该漏洞源于服务端View Transition CSS生成器将动画属性插入内联样式元素时未对CSS和HTML上下文进行转义,可能导致攻击者注入任意HTML或JavaScript,从而执行任意JavaScript并访问敏感页面数据或执行受害者可用的认证操作。
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 >= 2.9.0, < 7.1.0 -

II. Public POCs for CVE-2026-73422

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-73422

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

Patches & Fixes for CVE-2026-73422 (2)

Vendor Advisories for CVE-2026-73422 (1)

Same Patch Batch · withastro · 2026-08-12 · 3 CVEs total

CVE-2026-73423 5.1 MEDIUM Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()
CVE-2026-73425 3.7 LOW @astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatte

IV. Related Vulnerabilities

V. Comments for CVE-2026-73422

No comments yet


Leave a comment