[ CVE-2026-111753 · Published 5 Nov 2026 ]
@angular/common: XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for CVE-2025-66035)
[ Description ]Official description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.34 and 21.0.3, the @angular/common HttpClient function xsrfInterceptorFn uses a regular expression that does not normalize request URLs in the same way as the browser's WHATWG URL parser. With XSRF protection enabled, a mutating HTTP request to an attacker-controlled URL containing backslashes, stripped control characters or spaces, or removable ASCII whitespace can be misclassified as relative and same-origin, causing the interceptor to attach the X-XSRF-TOKEN header before the browser dispatches the request to a cross-origin host. With permissive CORS handling for the custom header, the attacker can obtain the victim's XSRF token and use it to perform cross-site request forgery against the victim session. This issue is fixed in versions 20.3.34 and 21.0.3.
[ Fixes ]How to fix it
- @angular/common 21.0.3Fixed version · GitHub Advisories · npm package @angular/common: upgrade to 21.0.3 or later (affected >= 21.0.0, < 21.0.3)
- @angular/common 20.3.34Fixed version · GitHub Advisories · npm package @angular/common: upgrade to 20.3.34 or later (affected >= 20.0.0, < 20.3.34)
Fixed versions
- angular: upgrade to 20.3.34 or laterEarlier versions are listed as affected
- angular: upgrade to 21.0.3 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
- Patchgithub.com
- Patchgithub.com
- Release notesgithub.com
- Release notesgithub.com
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4372
Angular: Vulnerability allows information disclosure Translated from German
[ Packages ]Affected open-source packages
- @angular/common npmAffected >= 21.0.0, < 21.0.3 · fixed in 21.0.3 · GHSA-jfgx-762w-99vr
- @angular/common npmAffected >= 20.0.0, < 20.3.34 · fixed in 20.3.34 · GHSA-jfgx-762w-99vr
- @angular/common npmAffected <= 19.2.25 · GHSA-jfgx-762w-99vr
[ References ]References
- github.com/angular/angular/commit/20474d3f0fd7c64071add6e84acf720627e5c19b
- github.com/angular/angular/commit/933ce817d53e25926844fa56af8230816763d08e
- github.com/angular/angular/issues/71294
- github.com/angular/angular/pull/65683
- github.com/angular/angular/pull/71295
- github.com/angular/angular/releases/tag/21.0.3
- github.com/angular/angular/releases/tag/v20.3.34
- github.com/angular/angular/security/advisories/GHSA-jfgx-762w-99vr