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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-65019— Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint

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开源的一个内容驱动网站的 web 框架。 Astro 5.15.9之前版本存在跨站脚本漏洞,该漏洞源于图像优化端点无条件允许data协议URL,可能导致跨站脚本攻击。

CVSS 5.4 · Medium EPSS 0.26% · P17
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-65019

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 Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint
Source: CVE Program / CVE List V5
Vulnerability Description
Astro is a web framework. Prior to version 5.15.9, when using Astro's Cloudflare adapter (@astrojs/cloudflare) with output: 'server', the image optimization endpoint (/_image) contains a critical vulnerability in the isRemoteAllowed() function that unconditionally allows data: protocol URLs. This enables Cross-Site Scripting (XSS) attacks through malicious SVG payloads, bypassing domain restrictions and Content Security Policy protections. This issue has been patched in version 5.15.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A: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开源的一个内容驱动网站的 web 框架。 Astro 5.15.9之前版本存在跨站脚本漏洞,该漏洞源于图像优化端点无条件允许data协议URL,可能导致跨站脚本攻击。
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 < 5.15.9 -

II. Public POCs for CVE-2025-65019

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-65019

登录查看更多情报信息。

Vendor Advisories for CVE-2025-65019 (1)

Same Patch Batch · withastro · 2025-11-19 · 4 CVEs total

CVE-2025-64764 7.1 HIGH Astro is vulnerable to Reflected XSS via the server islands feature
CVE-2025-64757 3.5 LOW Astro Development Server is Vulnerable to Arbitrary Local File Read
CVE-2025-64765 Astro middleware authentication checks based on url.pathname can be bypassed via url encod

IV. Related Vulnerabilities

V. Comments for CVE-2025-65019

No comments yet


Leave a comment