CVE-2025-66035
CVE-2025-66035 — Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.7
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.7 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-201
- CWE-359
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1606.001Forge Web Credentials: Web Cookies
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /JavaScript, //, //).
References
9 on the record
- github.com/angular/angular/security/advisories/GHSA-58c5-g7wp-6w37
x_refsource_CONFIRM
- github.com/angular/angular/commit/0276479e7d0e280e0f8d26fa567d3b7aa97a516f
x_refsource_MISC
- github.com/angular/angular/commit/05fe6686a97fa0bcd3cf157805b3612033f975bc
x_refsource_MISC
- github.com/angular/angular/commit/3240d856d942727372a705252f7c8c115394a41e
x_refsource_MISC
- github.com/angular/angular/releases/tag/19.2.16
x_refsource_MISC
- github.com/angular/angular/releases/tag/20.3.14
x_refsource_MISC
- github.com/angular/angular/releases/tag/21.0.1
x_refsource_MISC
- cert-portal.siemens.com/productcert/html/ssa-485750.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-41118 Sensitive COS `SecretKey` exposed in plaintext via configuration API due to missing type protectionCVSS 9.1
- CVE-2026-53920 odhcpd DHCPv6 Short IA_NA/IA_PD Body Stack DisclosureCVSS 8.7
- CVE-2026-6267 Insertion of Sensitive Information Into Sent Data in GitLabCVSS 5.3
- CVE-2026-100258 In JetBrains YouTrack before 2026.2.18991 missing authorisation allowed read-only users to read project settingsCVSS 4.3
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.