CVE-2025-55303
Unauthorized third-party images in Astro’s _image endpoint
Astro is a web framework for content-driven websites. In versions of astro before 5.13.2 and 4.16.18, the image optimization endpoint in projects deployed with on-demand rendering allows images from unauthorized third-party domains to be served. On-demand rendered sites built with Astro include an /_image endpoint which returns optimized versions of images. A bug in impacted versions of astro allows an attacker to bypass the third-party domain restrictions by using a protocol-relative URL as the image source, e.g. /_image?href=//example.com/image.png. This vulnerability is fixed in 5.13.2 and 4.16.18.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.676% · 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:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Assessment source · checked 2026-11-19T12:57:38.917Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:38.917Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.400Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:59.126Z | OSV |
| affected | verified | 2026-11-19T12:57:38.917Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:38.917Z | CVE Program |
Affected versions and configuration
withastro astro; default status: unknown: >= 5.0.0-alpha.0, < 5.13.2 [affected; scheme: unspecified]; < 4.16.18 [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": ">= 5.0.0-alpha.0, < 5.13.2"
},
{
"status": "affected",
"version": "< 4.16.18"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-55303",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-08-19T20:49:42.803973Z"
}
}
}
],
"references": [
{
"url": "https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-08-19T20:50:34.071Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xf8x-j4p2-f749",
"aliases": [
"CVE-2025-55303"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.1.1"
}
]
}
],
"package": {
"name": "@astrojs/node",
"purl": "pkg:npm/%40astrojs/node",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-xf8x-j4p2-f749/GHSA-xf8x-j4p2-f749.json",
"last_known_affected_version_range": "<= 9.1.0"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-55303",
"type": "ADVISORY"
},
{
"url": "https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-08-19T19:15:36Z",
"github_reviewed_at": "2025-08-19T15:40:31Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xf8x-j4p2-f749",
"aliases": [
"CVE-2025-55303"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.0.0-alpha.0"
},
{
"fixed": "5.13.2"
}
]
}
],
"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/08/GHSA-xf8x-j4p2-f749/GHSA-xf8x-j4p2-f749.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.16.19"
}
]
}
],
"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/08/GHSA-xf8x-j4p2-f749/GHSA-xf8x-j4p2-f749.json",
"last_known_affected_version_range": "<= 4.16.18"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/withastro/astro/security/advisories/GHSA-xf8x-j4p2-f749",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-55303",
"type": "ADVISORY"
},
{
"url": "https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820",
"type": "WEB"
},
{
"url": "https://github.com/withastro/astro",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-08-19T19:15:36Z",
"github_reviewed_at": "2025-08-19T15:40:31Z"
}
}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 | @astrojs/node | Not a distribution channel | 9.1.1 | Official record |
| ecosystem-boundary | npm / package | astro | Not a distribution channel | 5.13.2 | Official record |
| ecosystem-boundary | npm / package | astro | Not a distribution channel | 4.16.19 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:51:59.126ZArchived source JSON
Source publication: 2025-08-19T15:40:31.000Z
Source modification: 2025-11-27T08:22:36.525ZDocument fingerprint
02290788cfb970dfd156f573d9cfe85015926e62f5e42d94ebe8b98c6788e688 - OSVConsulted: 2026-11-19T12:51:58.264ZArchived source JSON
Source publication: 2025-08-19T15:40:31.000Z
Source modification: 2025-11-27T08:22:36.525ZDocument fingerprint
998ec8a32f8114f4f6dc251a8df217dbe4184aa39326838d5043215d1ada1359 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:38.917ZArchived source JSON
Source publication: 2025-08-19T18:08:00.244Z
Source modification: 2025-08-19T20:50:34.071ZDocument fingerprint
6030c77dc08f2995c2c6c6f82645a8d74c54418ae336dc09edc0b1e540131fcb - FIRST EPSSConsulted: 2026-11-19T16:04:41.400ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f09be0d3d341523449dfe0173665abd1b9add96747dee46d79511157a4bcd3c7
Official status history
- UNKNOWN → PUBLISHED · · evidence