Angular < 19.2.16 XSRF Token Leakage

high Web App Scanning Plugin ID 115636

Synopsis

Angular < 19.2.16 XSRF Token Leakage

Description

According to its self-reported version number, Angular is prior to 19.0.0, 19.x prior to 19.2.16, 20.x prior to 20.3.14 or 21.x prior to 21.0.1. It is, therefore, affected by an XSRF token leakage vulnerability in the HttpClient of @angular/common. Protocol-relative URLs (starting with //) are treated as same-origin requests, causing the XSRF token to be sent to an attacker-controlled domain and allowing Cross-Site Request Forgery (CSRF) attacks. (CVE-2025-66035)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Angular version 19.2.16 or later.

See Also

https://github.com/angular/angular/security/advisories/GHSA-58c5-g7wp-6w37

Plugin Details

Severity: High

ID: 115636

Type: Version Based

Published: 10/2/2026

Updated: 10/2/2026

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

Percentile: 96.43

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2025-66035

CVSS v3

Risk Factor: High

Base Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

CVSS Score Source: CVE-2025-66035

CVSS v4

Risk Factor: High

Base Score: 7.7

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

CVSS Score Source: CVE-2025-66035

Vulnerability Information

CPE: cpe:2.3:a:angular:angular:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/25/2025

Reference Information

CVE: CVE-2025-66035

CWE: 201, 359

OWASP: 2010-A6, 2013-A5, 2013-A6, 2013-A9, 2017-A3, 2017-A6, 2017-A9, 2021-A1, 2021-A6, 2025-A1, 2025-A6

WASC: Information Leakage

CAPEC: 116, 13, 169, 22, 224, 285, 287, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 312, 313, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 464, 467, 472, 497, 508, 573, 574, 575, 576, 577, 59, 60, 616, 643, 646, 651, 79

DISA STIG: APSC-DV-000460, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2), 164.312(a)(1), 164.312(b), 164.312(e)

ISO: 27001-A.13.1.1, 27001-A.13.1.3, 27001-A.13.2.1, 27001-A.14.1.3, 27001-A.14.2.5

NIST: sp800_53-CM-6b, sp800_53-SC-7(10), sp800_53-SI-15

OWASP API: 2019-API3, 2019-API7, 2023-API3, 2023-API8

OWASP ASVS: 4.0.2-14.2.1, 4.0.2-8.3.4

PCI-DSS: 3.2-6.2, 3.2-6.5.8