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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-88057— Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler

Quick assessment

Affected
angular angular
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Angular 是一个使用 TypeScript/JavaScript 及其他语言构建移动端和桌面端 Web 应用的开发平台。在 20.3.28、21.2.0 和 22.1.0 之前,@angular/core 和 @angular/compiler 中的 Angular 编译器和运行时可能因为安全敏感的指令宿主绑定(host bindings)中,SecurityContext 是从声明该指令或组件的选择器(selector)而非具体的宿主元素派生的,从而遗漏或选择了不正确的清洗器(sanitizer)。 这种不

CVSS 5.3 · Medium

Affected Version Matrix 4

VendorProduct Version RangeStatus
angular angular <= 19.2.25 affected
>= 20.0.0, < 20.3.28 affected
>= 21.0.0, < 21.2.20 affected
>= 22.0.0, < 22.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-88057

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: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler
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 20.3.28, 21.2.20, and 22.1.0, Angular's compiler and runtime in @angular/core and @angular/compiler could omit or select an incorrect sanitizer for security-sensitive directive host bindings because SecurityContext was derived from the declaring directive or component selector rather than the concrete host element. The mismatch is reachable through hostDirectives composition, inherited HostBinding declarations, createComponent with a custom hostElement or dynamic directives, SVG/MathML namespace elements, and tag-neutral selectors such as :not(...). Attacker-controlled href, src, action, xlink:href, or data values can therefore reach DOM attributes without Angular's built-in sanitizer and execute arbitrary JavaScript in the user's browser context. Applications unable to upgrade can use DomSanitizer.sanitize with SecurityContext.URL before assignment or restrict inputs to validated HTTP and HTTPS URL schemes. This issue is fixed in versions 20.3.28, 21.2.20, and 22.1.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
angular angular <= 19.2.25 -

II. Public POCs for CVE-2026-88057

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-88057

登录查看更多情报信息。

Patches & Fixes for CVE-2026-88057 (1)

Vendor Advisories for CVE-2026-88057 (2)

Vendor Pages for CVE-2026-88057 (3)

Same Patch Batch · angular · 2026-09-10 · 5 CVEs total

CVE-2026-88058 8.6 HIGH Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Cont
CVE-2026-88056 8.6 HIGH Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR
CVE-2026-88060 8.6 HIGH Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fa
CVE-2026-88059 4.0 MEDIUM Angular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaPa

IV. Related Vulnerabilities

V. Comments for CVE-2026-88057

No comments yet


Leave a comment