@angular/common: XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for
Affects @angular/commonSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.9 Medium · patch available : update @angular/common when convenient.
Data as of 4 Dec 2026, 18:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.9 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@angular/common | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. The issue is fixed in Angular versions 21.0.3, all 22.x releases, and 20.3.34 by replacing the regex with a proper origin comparison using the standard URL constructor. If immediate upgrading is not possible, validate and normalize outgoing request URLs using new URL(url, window.location.origin) and verify that parsedUrl.origin === window.location.origin before passing dynamic URLs to mutating HttpClient requests. Avoid passing untrusted or user-controlled URLs to HttpClient mutating methods.
Description
An incomplete fix in @angular/common's HttpClient for CVE-2025-66035 allows Cross-Site Request Forgery (XSRF) tokens to be leaked to attacker-controlled cross-origin domains due to discrepancies between a regular expression used for URL detection and the browser's WHATWG URL parser. This affects Angular versions prior to 21.0.3 and 20.3.34, where the XSRF token header may be attached to requests that the browser resolves as cross-origin. The vulnerability enables attackers to capture valid XSRF tokens if their server accepts the request and custom header via CORS, potentially enabling CSRF attacks. The issue is fixed in Angular 21.0.3, all 22.x releases, and 20.3.34 by replacing the regex with a proper origin comparison using the standard URL constructor.
References
- github.com/angular/angular/security/advisories/GHSA-jfgx-762w-99vr (opens in a new tab)
- github.com/angular/angular/pull/65683 (opens in a new tab)
- github.com/angular/angular/pull/71295 (opens in a new tab)
- github.com/angular/angular/commit/0659d11c854c9c6b886a2e925afef98d70bb005f (opens in a new tab)
- github.com/angular/angular/commit/20474d3f0fd7c64071add6e84acf720627e5c19b (opens in a new tab)
- github.com/angular/angular/commit/933ce817d53e25926844fa56af8230816763d08e (opens in a new tab)
- github.com/angular/angular (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-111753 (opens in a new tab)
- github.com/angular/angular/issues/71294 (opens in a new tab)
- github.com/angular/angular/releases/tag/21.0.3 (opens in a new tab)
- github.com/angular/angular/releases/tag/v20.3.34 (opens in a new tab)