CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2025-66035

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 7.7 · high

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 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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.716% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 7.7 · published by GitHub_M
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Assessment source · checked 2026-11-19T19:05:21.522Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T19:48:17.831ZCISA KEV
cvssverified2026-11-19T19:05:21.522ZCVE Program
epssverified2026-11-19T19:06:30.793ZFIRST EPSS
patchesverified2026-11-19T19:03:45.740ZOSV
affectedverified2026-11-19T19:05:21.522ZCVE Program
lifecycleverified2026-11-19T19:05:21.522ZCVE Program

Affected versions and configuration

angular angular; default status: unknown: >= 21.0.0-next.0, < 21.0.1 [affected; scheme: unspecified]; >= 20.0.0-next.0, < 20.3.14 [affected; scheme: unspecified]; < 19.2.16 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "angular",
      "product": "angular",
      "versions": [
        {
          "status": "affected",
          "version": ">= 21.0.0-next.0, < 21.0.1"
        },
        {
          "status": "affected",
          "version": ">= 20.0.0-next.0, < 20.3.14"
        },
        {
          "status": "affected",
          "version": "< 19.2.16"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-66035",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-11-28T18:28:53.883453Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-11-28T18:29:18.578Z"
      }
    },
    {
      "affected": [
        {
          "vendor": "Siemens",
          "product": "RUGGEDCOM RST2428P",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "V4.0",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIDIS Prime",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "V4.0.800",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "x_adpType": "supplier",
      "references": [
        {
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html"
        }
      ],
      "providerMetadata": {
        "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
        "shortName": "siemens-SADP",
        "dateUpdated": "2026-06-02T13:00:29.580Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-58c5-g7wp-6w37",
  "aliases": [
    "CVE-2025-66035"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "21.0.0-next.0"
            },
            {
              "fixed": "21.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/common",
        "purl": "pkg:npm/%40angular/common",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "20.0.0-next.0"
            },
            {
              "fixed": "20.3.14"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/common",
        "purl": "pkg:npm/%40angular/common",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "19.2.16"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/common",
        "purl": "pkg:npm/%40angular/common",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-58c5-g7wp-6w37/GHSA-58c5-g7wp-6w37.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/angular/angular/security/advisories/GHSA-58c5-g7wp-6w37",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66035",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/angular/angular/commit/0276479e7d0e280e0f8d26fa567d3b7aa97a516f",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular/commit/05fe6686a97fa0bcd3cf157805b3612033f975bc",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular/commit/3240d856d942727372a705252f7c8c115394a41e",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/angular/angular/releases/tag/19.2.16",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular/releases/tag/20.3.14",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular/releases/tag/21.0.1",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-201",
      "CWE-359"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2025-11-26T23:15:49Z",
    "github_reviewed_at": "2025-11-26T23:18:50Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / package@angular/commonNot a distribution channel21.0.1Official record
ecosystem-boundarynpm / package@angular/commonNot a distribution channel20.3.14Official record
ecosystem-boundarynpm / package@angular/commonNot a distribution channel19.2.16Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history