Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-66035— Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs

Quick assessment

Affected
angular angular
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Angular是Angular开源的一个开发平台。用于使用 Typescript / JavaScript 和其他语言构建移动和桌面 Web 应用程序。 Angular 19.2.16之前版本、20.3.14之前版本和21.0.1之前版本存在安全漏洞,该漏洞源于通过协议相对URL泄漏XSRF令牌,可能导致跨站请求伪造令牌泄露。

AI Predicted 5.3 Difficulty: Easy EPSS 0.72% · P54

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 3

VendorProduct Version RangeStatus
angular angular >= 21.0.0-next.0, < 21.0.1 affected
>= 20.0.0-next.0, < 20.3.14 affected
< 19.2.16 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-66035

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Angular HTTP Client Has XSRF Token Leakage via Protocol-Relative URLs
Source: CVE Program / CVE List V5
Vulnerability Description
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
通过发送数据的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
Angular 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Angular是Angular开源的一个开发平台。用于使用 Typescript / JavaScript 和其他语言构建移动和桌面 Web 应用程序。 Angular 19.2.16之前版本、20.3.14之前版本和21.0.1之前版本存在安全漏洞,该漏洞源于通过协议相对URL泄漏XSRF令牌,可能导致跨站请求伪造令牌泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
angular angular >= 21.0.0-next.0, < 21.0.1 -

II. Public POCs for CVE-2025-66035

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
default-local-qwen3.6 · 10305 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-66035

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-66035 (1)

IV. Related Vulnerabilities