Skip to content

CVE-2026-88057 Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler

MediumCVSS 5.3 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · 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 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.

Upgrade path

26 packages: 3 fixed, 23 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/apicurio/apicurio-registry-gitops-sync-rhel9(Red Hat apicurio_registry 3) All versions No fix listed No fix yet
redhat/ceph(Red Hat ceph_storage 4) All versions No fix listed No fix yet
redhat/ceph(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/ceph(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/dotnet6.0(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/dotnet7.0(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/firefox(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/firefox(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/firefox(Red Hat rhel_els 7) All versions No fix listed No fix yet
redhat/gjs(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/gjs(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/mozjs60(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/thunderbird(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/thunderbird(Red Hat enterprise_linux 9) 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; = >= 20.0.0, < 20.3.28; = >= 21.0.0, < 21.2.20; = >= 22.0.0, < 22.1.0 +4 more 20.3.28, 21.2.20, 22.1.0 Fixed
angular compiler(npm) <= 19.2.25; >= 20.0.0, < 20.3.28; >= 21.0.0, < 21.2.20; >= 22.0.0, < 22.1.0 20.3.28, 21.2.20, 22.1.0 Fixed
angular core(npm) <= 19.2.25; >= 20.0.0, < 20.3.28; >= 21.0.0, < 21.2.20; >= 22.0.0, < 22.1.0 20.3.28, 21.2.20, 22.1.0 Fixed

Affected products

ProductAffected versionsFixed in
angular = <= 19.2.25 No fix listed
angular = >= 20.0.0, < 20.3.28 No fix listed
angular = >= 21.0.0, < 21.2.20 No fix listed
angular = >= 22.0.0, < 22.1.0 No fix listed
redhat/rhacm2/volsync-operator-bundle(Red Hat:acm:2) All versions No fix listed
redhat/rhacm2/volsync-rhel9(Red Hat:acm:2) All versions No fix listed
redhat/apicurio/apicurio-registry-gitops-sync-rhel9(Red Hat:apicurio_registry:3) All versions No fix listed
redhat/apicurio/apicurio-registry-ui-rhel8(Red Hat:apicurio_registry:3) All versions No fix listed
redhat/ceph(Red Hat:ceph_storage:4) All versions No fix listed
redhat/ceph(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/gjs(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/firefox(Red Hat:rhel_els:7) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/mozjs60(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/ceph(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/dotnet6.0(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/dotnet7.0(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/gjs(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/compiler(Red Hat:jboss_fuse:7) All versions No fix listed
Show 25 more
ProductAffected versionsFixed in
redhat/core(Red Hat:jboss_fuse:7) All versions No fix listed
angular core(npm) >= 22.0.0, < 22.1.0 22.1.0
angular compiler(npm) >= 22.0.0, < 22.1.0 22.1.0
angular core(npm) >= 21.0.0, < 21.2.20 21.2.20
angular compiler(npm) >= 21.0.0, < 21.2.20 21.2.20
angular core(npm) >= 20.0.0, < 20.3.28 20.3.28
angular compiler(npm) >= 20.0.0, < 20.3.28 20.3.28
angular core(npm) <= 19.2.25 No fix listed
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.0.0, <= 19.2.25 No fix listed
angular >= 20.0.0, < 20.3.28 20.3.28
angular >= 21.0.0, < 21.2.20 21.2.20
angular >= 22.0.0, < 22.1.0 22.1.0

References