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.
References
| Link | Resource |
|---|---|
| https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4 | Patch |
| https://github.com/angular/angular/pull/69107 | Issue Tracking Patch |
| https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
26 Jun 2026, 19:35
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/angular/angular/commit/3c70270c96677c0dd33585f2afe8e187113e5fb4 - Patch | |
| References | () https://github.com/angular/angular/pull/69107 - Issue Tracking, Patch | |
| References | () https://github.com/angular/angular/security/advisories/GHSA-58w9-8g37-x9v5 - Third Party Advisory | |
| First Time |
Angularjs
Angularjs angularjs |
|
| CPE | cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
22 Jun 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-22 16:16
Updated : 2026-06-26 19:35
NVD link : CVE-2026-54265
Mitre link : CVE-2026-54265
CVE.ORG link : CVE-2026-54265
JSON object : View
Products Affected
angularjs
- angularjs
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
