SecurityContext

CVE-2026-54265: Angular @angular/compiler - Stored XSS

  • Cve: CVE-2026-54265
  • Name: Angular @angular/compiler - Stored XSS
  • Description: Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, an issue in the @angular/compiler package allows bypassing DOM property sanitization through the use of two-way property bindings. Specifically, when a native DOM property that requires sanitization (such as innerHTML, srcdoc, src, href, data, or sandbox) is bound using the two-way binding syntax (e.g., [(innerHTML)]="value" or bindon-innerHTML="value"), the Angular template compiler failed to apply the appropriate schema-derived sanitizer resolution to the TwoWayProperty operation. As a result, native two-way DOM bindings were emitted without the required sanitizer function, whereas equivalent one-way bindings would be properly sanitized. This flaw enables an attacker who can control the value of a two-way bound sensitive property to bypass Angular's built-in sanitization logic, potentially leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, leading to client-side XSS and potential data theft or session hijacking.
  • Remediation: Update to versions 22.0.1, 21.2.17, or 20.3.25 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00344
  • Epss percentile: 0.28443
  • Assignee: [email protected]
  • Published at: 2026-06-22T16:16:39Z
  • Age in days: 155
  • Modified at: 2026-07-09T15:39:01Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-54265
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4Patch
https://github.com/angular/angular/pull/69107Issue Tracking, Patch
https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
angular:angular>= 22.0.0, < 22.0.1; >= 21.0.0, < 21.2.17; >= 20.0.0, < 20.3.25; <= 19.2.25nonvd/v1/products/angular/angular

Projects

RepositoryLink kindsIndexedUrl
angular/angularcommit, fix, package, pull, security_advisoryyes/v1/repositories/angular/angular

Index

  • Repositories: 59
  • Repositories high signal: 37
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 1009
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports