XSRF Token Leakage in Angular HTTP Clients by Google
CVE-2025-66035
What is CVE-2025-66035?
A vulnerability in Angular's HttpClient allows for the unauthorized disclosure of XSRF tokens via protocol-relative URLs. When a request is made using a URL that starts with '//' (protocol-relative), the XSRF protection mechanism incorrectly treats it as a same-origin request. This leads to the XSRF token being attached to outgoing requests to potentially malicious domains. To mitigate this risk, users should avoid protocol-relative URLs, using either hardcoded relative paths or fully qualified absolute URLs, thus ensuring better security practices.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
angular >= 21.0.0-next.0, < 21.0.1 < 21.0.0-next.0, 21.0.1
angular >= 20.0.0-next.0, < 20.3.14 < 20.0.0-next.0, 20.3.14
angular < 19.2.16 < 19.2.16
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
