Skip to content

CVE-2026-54265 Angular: Two-Way Property Binding Sanitization Bypass (XSS)

MediumCVSS 5.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

10 packages: 2 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
debian/angular.js(Debian 12) = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more No fix listed No fix yet
debian/angular.js(Debian 13) = 1.8.3-3; All versions No fix listed No fix yet
redhat/compiler(Red Hat apicurio_registry 3) All versions No fix listed No fix yet
redhat/core(Red Hat acm 2) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.10) All versions No fix listed No fix yet
angular <= 19.2.25; = <= 19.2.25; = >= 20.0.0-next.0 < 20.3.25; = >= 21.0.0-next.0 < 21.2.17 +4 more 20.3.25, 21.2.17, 22.0.1 Fixed
angular compiler(npm) <= 19.2.25; >= 20.0.0-next.0, < 20.3.25; >= 21.0.0-next.0, < 21.2.17; >= 22.0.0-next.0, < 22.0.1 20.3.25, 21.2.17, 22.0.1 Fixed

Affected products

ProductAffected versionsFixed in
angular = >= 22.0.0-next.0 < 22.0.1 No fix listed
angular = >= 21.0.0-next.0 < 21.2.17 No fix listed
angular = >= 20.0.0-next.0 < 20.3.25 No fix listed
angular = <= 19.2.25 No fix listed
redhat/core(Red Hat:acm:2) All versions No fix listed
redhat/compiler(Red Hat:apicurio_registry:3) All versions No fix listed
angular compiler(npm) >= 22.0.0-next.0, < 22.0.1 22.0.1
angular compiler(npm) >= 21.0.0-next.0, < 21.2.17 21.2.17
angular compiler(npm) >= 20.0.0-next.0, < 20.3.25 20.3.25
angular compiler(npm) <= 19.2.25 No fix listed
debian/angular.js(Debian:12) All versions No fix listed
debian/angular.js(Debian:12) = 1.8.3-1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1~deb11u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-2 No fix listed
debian/angular.js(Debian:12) = 1.8.3-3 No fix listed
debian/angular.js(Debian:13) All versions No fix listed
debian/angular.js(Debian:13) = 1.8.3-3 No fix listed
ubuntu/angular.js(Ubuntu:22.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:24.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.10) All versions No fix listed
angular <= 19.2.25 No fix listed
angular >= 20.0.0, < 20.3.25 20.3.25
angular >= 21.0.0, < 21.2.17 21.2.17
Show 1 more
ProductAffected versionsFixed in
angular >= 22.0.0, < 22.0.1 22.0.1

References