Google · Angular · CVE-2026-54265
**Name of the Vulnerable Software and Affected Versions**
Angular versions prior to 22.0.1
Angular versions prior to 21.2.17
Angular versions prior to 20.3.25
**Description**
An issue in the `@angular/compiler` package allows bypassing DOM property sanitization when using two-way property bindings. When a native DOM property requiring sanitization—such as `innerHTML`, `srcdoc`, `src`, `href`, `data`, or `sandbox`—is bound using two-way binding syntax (e.g., `[(innerHTML)]="value"` or `bindon-innerHTML="value"`), the template compiler fails to apply the necessary sanitizer resolution to the `TwoWayProperty` operation. Consequently, these bindings are emitted without the required sanitizer function, unlike one-way bindings which remain protected. This flaw allows an attacker who controls the value of a two-way bound sensitive property to bypass built-in sanitization, potentially leading to client-side Cross-Site Scripting (XSS), where arbitrary JavaScript is executed in the user's browser context.
**Recommendations**
Update to version 22.0.1.
Update to version 21.2.17.
Update to version 20.3.25.
As a temporary workaround, avoid using two-way data binding syntax on security-sensitive native DOM properties such as `innerHTML`, `srcdoc`, `src`, `href`, `data`, or `sandbox`.