Skip to content

CVE-2026-111753 Angular: XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for CVE-2025-66035)

MediumCVSS 5.9 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Debian

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
angular common(npm) <= 19.2.25; >= 20.0.0, < 20.3.34; >= 21.0.0, < 21.0.3 20.3.34, 21.0.3 Fixed
angular = <= 19.2.25; = >= 20.0.0, < 20.3.34; = >= 21.0.0, < 21.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
angular = <= 19.2.25 No fix listed
angular = >= 20.0.0, < 20.3.34 No fix listed
angular = >= 21.0.0, < 21.0.3 No fix listed
angular common(npm) >= 21.0.0, < 21.0.3 21.0.3
angular common(npm) >= 20.0.0, < 20.3.34 20.3.34
angular common(npm) <= 19.2.25 No fix listed

References