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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-201 — CWE-201: Insertion of Sensitive Information Into Sent Data
- CWE-359 — CWE-359: Exposure of Private Personal Information to an Unauthorized Actor
Affected products
| Vendor | Product | Versions |
|---|---|---|
| angular | angular | <= 19.2.25 [affected]; >= 20.0.0, < 20.3.34 [affected]; >= 21.0.0, < 21.0.3 [affected] |
References
- https://github.com/angular/angular/security/advisories/GHSA-jfgx-762w-99vr (x_refsource_CONFIRM)
- https://github.com/angular/angular/issues/71294 (x_refsource_MISC)
- https://github.com/angular/angular/pull/65683 (x_refsource_MISC)
- https://github.com/angular/angular/pull/71295 (x_refsource_MISC)
- https://github.com/angular/angular/commit/20474d3f0fd7c64071add6e84acf720627e5c19b (x_refsource_MISC)
- https://github.com/angular/angular/commit/933ce817d53e25926844fa56af8230816763d08e (x_refsource_MISC)
- https://github.com/angular/angular/releases/tag/21.0.3 (x_refsource_MISC)
- https://github.com/angular/angular/releases/tag/v20.3.34 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 06 Nov 2026 08:03 UTC.