CVE Catalog

CVE-2026-111753

MediumCVSS 5.9
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.54%

45th percentile - higher than 45% of all known CVEs

Summary

Angular prior to 20.3.34 and 21.0.3 has the @angular/common HttpClient function xsrfInterceptorFn using a regular expression that does not normalize request URLs 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.

Risk Assessment

With permissive CORS handling for the custom header, an attacker could obtain the victim's XSRF token and use it to perform CSRF against the victim session. This could lead to unauthorized actions on behalf of the user.

Recommendation

Upgrade Angular to version 20.3.34 or 21.0.3. Restrict permissive CORS configuration for custom headers and review application security policies.

Other vulnerabilities in Angular

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS