CVE
CVE-2026-111753
CNA 原文 · 原文(英文)
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.34 and 21.0.3, the @angular/common HttpClient function xsrfInterceptorFn uses a regular expression that does not normalize request URLs in the same way as the browser's WHATWG URL parser. With XSRF protection enabled, a mutating HTTP request to an attacker-controlled URL containing backslashes, stripped control characters or spaces, or removable ASCII whitespace can be misclassified as relative and same-origin, causing the interceptor to attach the X-XSRF-TOKEN header before the browser dispatches the request to a cross-origin host. With permissive CORS handling for the custom header, the attacker can obtain the victim's XSRF token and use it to perform cross-site request forgery against the victim session. This issue is fixed in versions 20.3.34 and 21.0.3.
受影响版本
- @angular/common≥ 21.0.0, < 21.0.3修复版本 21.0.3
- @angular/common≥ 20.0.0, < 20.3.34修复版本 20.3.34
- @angular/common≤ 19.2.25受影响至 19.2.25(含),修复版本见厂商公告
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- github.com/advisories/GHSA-jfgx-762w-99vr · Third Party Advisory
- osv.dev/vulnerability/GHSA-jfgx-762w-99vr · Third Party Advisory
- github.com/angular/angular/security/advisories/GHSA-jfgx-762w-99vr · Vendor Advisory
- github.com/angular/angular/pull/65683 · Vendor Advisory
- github.com/angular/angular/pull/71295 · Vendor Advisory
- github.com/angular/angular/commit/0659d11c854c9c6b886a2e925afef98d70bb · Vendor Advisory
- github.com/angular/angular/commit/20474d3f0fd7c64071add6e84acf720627e5 · Vendor Advisory
- github.com/angular/angular/commit/933ce817d53e25926844fa56af8230816763 · Vendor Advisory
- github.com/angular/angular/releases/tag/21.0.3 · Vendor Advisory
- github.com/angular/angular/releases/tag/v20.3.34 · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。