CVE-2025-66035
Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.16, 20.3.14, and 21.0.1, there is a XSRF token leakage via protocol-relative URLs in angular HTTP clients. The vulnerability is a Credential Leak by App Logic that leads to the unauthorized disclosure of the Cross-Site Request Forgery (XSRF) token to an attacker-controlled domain. Angular's HttpClient has a built-in XSRF protection mechanism that works by checking if a request URL starts with a protocol (http:// or https://) to determine if it is cross-origin. If the URL starts with protocol-relative URL (//), it is incorrectly treated as a same-origin request, and the XSRF token is automatically added to the X-XSRF-TOKEN header. This issue has been patched in versions 19.2.16, 20.3.14, and 21.0.1. A workaround for this issue involves avoiding using protocol-relative URLs (URLs starting with //) in HttpClient requests. All backend communication URLs should be hardcoded as relative paths (starting with a single /) or fully qualified, trusted absolute URLs.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.716% · 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-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.7 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Assessment source · checked 2026-11-19T19:05:21.522Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:21.522Z | CVE Program |
| epss | verified | 2026-11-19T19:06:30.793Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.740Z | OSV |
| affected | verified | 2026-11-19T19:05:21.522Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:21.522Z | CVE Program |
Affected versions and configuration
angular angular; default status: unknown: >= 21.0.0-next.0, < 21.0.1 [affected; scheme: unspecified]; >= 20.0.0-next.0, < 20.3.14 [affected; scheme: unspecified]; < 19.2.16 [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": "angular",
"product": "angular",
"versions": [
{
"status": "affected",
"version": ">= 21.0.0-next.0, < 21.0.1"
},
{
"status": "affected",
"version": ">= 20.0.0-next.0, < 20.3.14"
},
{
"status": "affected",
"version": "< 19.2.16"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-66035",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-11-28T18:28:53.883453Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-11-28T18:29:18.578Z"
}
},
{
"affected": [
{
"vendor": "Siemens",
"product": "RUGGEDCOM RST2428P",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V4.0",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIDIS Prime",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V4.0.800",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"x_adpType": "supplier",
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html"
}
],
"providerMetadata": {
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP",
"dateUpdated": "2026-06-02T13:00:29.580Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-58c5-g7wp-6w37",
"aliases": [
"CVE-2025-66035"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "21.0.0-next.0"
},
{
"fixed": "21.0.1"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.0-next.0"
},
{
"fixed": "20.3.14"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "19.2.16"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/angular/angular/security/advisories/GHSA-58c5-g7wp-6w37",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66035",
"type": "ADVISORY"
},
{
"url": "https://github.com/angular/angular/commit/0276479e7d0e280e0f8d26fa567d3b7aa97a516f",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/commit/05fe6686a97fa0bcd3cf157805b3612033f975bc",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/commit/3240d856d942727372a705252f7c8c115394a41e",
"type": "WEB"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
"type": "WEB"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular",
"type": "PACKAGE"
},
{
"url": "https://github.com/angular/angular/releases/tag/19.2.16",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/releases/tag/20.3.14",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/releases/tag/21.0.1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-201",
"CWE-359"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-11-26T23:15:49Z",
"github_reviewed_at": "2025-11-26T23:18:50Z"
}
}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 | @angular/common | Not a distribution channel | 21.0.1 | Official record |
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 20.3.14 | Official record |
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 19.2.16 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:21.522ZArchived source JSON
Source publication: 2025-11-26T22:18:35.692Z
Source modification: 2026-06-02T13:00:29.580ZDocument fingerprint
ebcb4b448e27de86b025ad8fa4209c69464866cfc847633c726ed08c059ba9ef - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:45.740ZArchived source JSON
Source publication: 2025-11-26T23:18:50.000Z
Source modification: 2026-09-10T03:50:30.563ZDocument fingerprint
db0f55c489a6508a7b9877f8cef06e368a26468db06368568d9b211d016daa08 - FIRST EPSSConsulted: 2026-11-19T19:06:30.793ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f914ade7823418b7d580e2ca0dcb5d405fe00835d2d2b47839584a287a29d623
Official status history
- UNKNOWN → PUBLISHED · · evidence