Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler
CVSS score
5.3
EPSS probability
%0.4
Risk score
0.0
Published
1 mo ago
Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2026-88057 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
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.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2026-88057 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | angular | angular | View |
| 2 | angular | angular | View |
| 3 | angular | angular | View |
| 4 | angular | angular | View |
| 5 | angular | angular | View |
| 6 | npm | @angular/core | View |
| 7 | npm | @angular/compiler | View |
| 8 | npm | @angular/core | View |
| 9 | npm | @angular/compiler | View |
| 10 | npm | @angular/core | View |
| 11 | npm | @angular/compiler | View |
| 12 | npm | @angular/core | View |
| 13 | npm | @angular/compiler | View |
| 14 | npm | @angular/core | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 6.1 | CVSS V31 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| 5.3 | CVSS 4.0 | — | Vector not published | GitHub Advisory |
| 5.3 | CVSS V4_0 | MEDIUM | 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 | CVE CNA |
| 5.3 | CVSS V40 | MEDIUM | 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/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 | NVD |
Patch and Remediation Guide
Solution & Remediation Advisory
8 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
20.3.28GitLab Advisory düzeltilmiş sürüm: 20.3.28
21.2.20GitLab Advisory düzeltilmiş sürüm: 21.2.20
22.1.0GitLab Advisory düzeltilmiş sürüm: 22.1.0
Upgrade to versions 20.3.28, 21.2.20, 22.1.0 or above.
Upgrade to versions 20.3.28, 21.2.20, 22.1.0 or above.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-88057 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-88057 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
Path traversal in Shopify React Router/node
@openhop/server: Path Traversal in Flow ID File Operations
functype-mcp-server: MCP `set_functype_version` Package Alias RCE via Unsanitized pnpm install + Dynamic Import
Socket.IO: Engine.IO Protocol Revision Mismatch DoS
Nuxt Ollama: Public Runtime Config Exposes Ollama API Key to Browser Clients
Electron: Local race condition in Squirrel.Mac update installation on macOS
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.enginteksut.com.tr/api/v1/intel/cves/CVE-2026-88057"