Skip to content

CVE-2026-52725 Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)

MediumCVSS 5.3 EPSS 0.46%
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.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/core package allows bypassing script-execution restrictions during dynamic component creation. Specifically, the dynamic component instantiation mechanism (createComponent) failed to reject mounting components directly onto a <script> or namespaced script element (such as svg:script). This enabled the initialization of custom components on a tag that executes scripts, allowing attackers to hijack or inject script-executing hosts. This flaw enables an attacker who can control the host element or selector parameter passed to createComponent to initialize or mount an Angular component directly onto a <script> tag, leading to execution of untrusted code or client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Upgrade path

11 packages: 2 fixed, 9 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/core(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/rhacm2/volsync-operator-bundle(Red Hat acm 2) All versions No fix listed No fix yet
redhat/rhacm2/volsync-rhel9(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 <= 18.2.14; = 22.0.0-next0; = 22.0.0-next1; = 22.0.0-next2 +20 more 19.2.23, 20.3.22, 21.2.15 Fixed
angular core(npm) <= 18.2.14; >= 19.0.0-next.0, < 19.2.22; >= 19.0.0-next.0, < 19.2.23; >= 20.0.0-next.0, < 20.3.22 +2 more 19.2.22, 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 Fixed

Affected products

ProductAffected versionsFixed in
angular = >= 22.0.0-next.0 < 22.0.0-rc.2 No fix listed
angular = >= 21.0.0-next.0 < 21.2.15 No fix listed
angular = >= 20.0.0-next.0 < 20.3.22 No fix listed
angular = >= 19.0.0-next.0 < 19.2.22 No fix listed
angular = <= 18.2.14 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/core(Red Hat:jboss_fuse:7) All versions No fix listed
angular core(npm) >= 21.0.0-next.0, < 21.2.15 21.2.15
angular core(npm) >= 22.0.0-next.0, < 22.0.0-rc.2 22.0.0-rc.2
angular core(npm) >= 19.0.0-next.0, < 19.2.22 19.2.22
angular core(npm) <= 18.2.14 No fix listed
angular core(npm) >= 20.0.0-next.0, < 20.3.22 20.3.22
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
Show 20 more
ProductAffected versionsFixed in
angular <= 18.2.14 No fix listed
angular >= 19.0.0, < 19.2.23 19.2.23
angular >= 20.0.0, < 20.3.22 20.3.22
angular >= 21.0.0, < 21.2.15 21.2.15
angular = 22.0.0-next0 No fix listed
angular = 22.0.0-next1 No fix listed
angular = 22.0.0-next10 No fix listed
angular = 22.0.0-next11 No fix listed
angular = 22.0.0-next12 No fix listed
angular = 22.0.0-next2 No fix listed
angular = 22.0.0-next3 No fix listed
angular = 22.0.0-next4 No fix listed
angular = 22.0.0-next5 No fix listed
angular = 22.0.0-next6 No fix listed
angular = 22.0.0-next7 No fix listed
angular = 22.0.0-next8 No fix listed
angular = 22.0.0-next9 No fix listed
angular = 22.0.0-rc0 No fix listed
angular = 22.0.0-rc1 No fix listed
angular core(npm) >= 19.0.0-next.0, < 19.2.23 19.2.23

References