CVE-2025-66035 Details
Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.16, 20.3.14, and 21.0.1, there is a XSRF token leakage via protocol-relative URLs in angular HTTP clients. The vulnerability is a Credential Leak by App Logic that leads to the unauthorized disclosure of the Cross-Site Request Forgery (XSRF) token to an attacker-controlled domain. Angular's HttpClient has a built-in XSRF protection mechanism that works by checking if a request URL starts with a protocol (http:// or https://) to determine if it is cross-origin. If the URL starts with protocol-relative URL (//), it is incorrectly treated as a same-origin request, and the XSRF token is automatically added to the X-XSRF-TOKEN header. This issue has been patched in versions 19.2.16, 20.3.14, and 21.0.1. A workaround for this issue involves avoiding using protocol-relative URLs (URLs starting with //) in HttpClient requests. All backend communication URLs should be hardcoded as relative paths (starting with a single /) or fully qualified, trusted absolute URLs.
A vulnerability in Angular's HttpClient prior to versions 19.2.16, 20.3.14, and 21.0.1 allows for Cross-Site Request Forgery (XSRF) token leakage to attacker-controlled domains via protocol-relative URLs. This issue arises because protocol-relative URLs are incorrectly treated as same-origin, leading to the unauthorized disclosure of XSRF tokens. The vulnerability bypasses Angular's built-in CSRF protection, enabling attackers to capture valid XSRF tokens and perform CSRF attacks against users.
Users should update to Angular versions 19.2.16, 20.3.14, or 21.0.1. Additionally, avoid using protocol-relative URLs in HttpClient requests. Instead, use hardcoded relative paths or fully qualified, trusted absolute URLs for backend communication.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 26, 2025CISA-ADP
Assessed Nov 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data | [email protected] |
| CWE-359 | Exposure of Private Personal Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Angular | >= 21.0.0-next.0, < 21.0.1 (semver) >= 20.0.0-next.0, < 20.3.14 (semver) >= 19.0.0-next.0, < 19.2.16 (semver) <= 18.2.14 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| Nov 26, 2025 | New CVE Received | [email protected] |
Volerion