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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 5.4 · Medium EPSS 0.03% · P10
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
withastroastro < 5.15.9 -

II. Public POCs for CVE-2025-65019

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-65019

登录查看更多情报信息。

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

CVE-2025-647647.1 HIGHAstro is vulnerable to Reflected XSS via the server islands feature
CVE-2025-647573.5 LOWAstro Development Server is Vulnerable to Arbitrary Local File Read
CVE-2025-64765Astro 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