Back to CVE catalog
CVE-2025-66035

XSRF token leakage via protocol-relative URLs in Angular prior to versions 19.2.16, 20.3.14, and 21.0.1

angular angular

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityNone

CVSS summary v4.0

7.7High
Published:
Updated:
EPSS:
0.924%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:angularangularAffected versions:
>= 21.0.0-next.0, < 21.0.1Show full version range for angular
>= 20.0.0-next.0, < 20.3.14< 19.2.16
Vendor:SiemensRUGGEDCOM RST2428PAffected versions:
< V4.0
Vendor:SiemensSIDIS PrimeAffected versions:
< V4.0.800
Vendor:Red HatLogging Subsystem for Red Hat OpenShiftAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 4Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 5Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 8Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 9.2Affected versions:Source does not specify a version range

1–10 of 15 · Page 1 of 2

CVSS scores and metrics4
GitHub_M · CVE List / CNA (cna)Primary7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
High
Subsequent integrity
None
Subsequent availability
None

Source vector

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
[email protected] · NVD (Secondary)7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
High
Subsequent integrity
None
Subsequent availability
None

Source vector

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE-2025-66035 · OSV (source-vector)7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
None
Subsequent confidentiality
High
Subsequent integrity
None
Subsequent availability
None

Source vector

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
Red Hat · Red Hat VEX (adp)7.1 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories15

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences