CVE-2025-64525
Astro: URL manipulation via unsanitized headers leads to path-based middleware protections bypass, potential SSRF/cache-poisoning, CVE-2025-61925 bypass
Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.245% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Assessment source · checked 2026-11-19T12:57:45.030Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:45.030Z | CVE Program |
| epss | verified | 2026-11-19T16:04:42.360Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:58.264Z | OSV |
| affected | verified | 2026-11-19T12:57:45.030Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:45.030Z | CVE Program |
Affected versions and configuration
withastro astro; default status: unknown: >= 2.16.0, < 5.15.5 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "withastro",
"product": "astro",
"versions": [
{
"status": "affected",
"version": ">= 2.16.0, < 5.15.5"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-64525",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-11-13T16:15:07.067807Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-11-13T16:15:18.417Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-hr2q-hp5q-x767",
"aliases": [
"CVE-2025-64525"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.16.0"
},
{
"fixed": "5.15.5"
}
]
}
],
"package": {
"name": "astro",
"purl": "pkg:npm/astro",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-hr2q-hp5q-x767/GHSA-hr2q-hp5q-x767.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64525",
"type": "ADVISORY"
},
{
"url": "https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro",
"type": "PACKAGE"
},
{
"url": "https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-918"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-11-13T16:15:56Z",
"github_reviewed_at": "2025-11-13T22:46:24Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | astro | Not a distribution channel | 5.15.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:51:58.264ZArchived source JSON
Source publication: 2025-11-13T22:46:24.000Z
Source modification: 2025-11-13T22:46:24.000ZDocument fingerprint
998ec8a32f8114f4f6dc251a8df217dbe4184aa39326838d5043215d1ada1359 - CVE ProgramConsulted: 2026-11-19T12:57:45.030ZArchived source JSON
Source publication: 2025-11-13T15:58:16.797Z
Source modification: 2025-11-13T16:15:18.417ZDocument fingerprint
5cc29c6c8b030acb712c2e932a9e7eccfcf74216a9902c581c0413cd6c264887 - FIRST EPSSConsulted: 2026-11-19T16:04:42.360ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f3e0006c4bf23264f8d6151e6627f3c4e610e9660acb6cdae7bca2bafe3eb770
Official status history
- UNKNOWN → PUBLISHED · · evidence