ADVISORIES

Vulnerability

CVE-2025-66035

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.

24 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-293r-jpg5-rr5j
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-5pwh-4pw6-3h8m
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-79vm-8x89-59g5
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-7c3m-p55c-q2x9
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-7grx-cwp6-2cgf
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-867f-6mp4-2hxg
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-c3hg-fgx4-jfq9
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-f52j-j56m-m95m
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-fc38-wx7c-582v
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-gcpf-2g4p-42rw
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-hr53-chh2-h5cp
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-m8jg-c7w6-cwmw
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-mfwv-px8r-6rmp
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-p2vv-pv4p-4fmw
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-rp58-pqpp-6m3m
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-rvr6-wpxp-x2xm
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-v7f3-mv32-86fp
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-vvcq-jm34-269r
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-wxqc-pgr2-2qh6
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • CGA-xw4q-8wvf-cxwx
    CVE-2025-66035 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2025-66035

    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…

    CVE-2025-66035 Debian Updated 16 February 2026
  • GHSA-58c5-g7wp-6w37

    Angular is Vulnerable to XSRF Token Leakage via Protocol-Relative URLs in Angular HTTP Client

    High CVE-2025-66035 npm Updated 10 September 2026
  • RHVEX-CVE-2025-66035

    angular: Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs

    Moderate CVE-2025-66035 Red Hat Updated 7 November 2026
  • UBUNTU-CVE-2025-66035

    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…

    CVE-2025-66035 Ubuntu Updated 17 October 2026

References