Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-52725

Fixed in a distro release EPSS <1%CVSS 5.3

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.

Published 2026-06-22 · CVE record · OSV

Products: angular

Fixed upstream

EcosystemPackageFixed in
npm@angular/core21.2.15
npm@angular/core22.0.0-rc.2
npm@angular/core19.2.23
npm@angular/coreno fix
npm@angular/core20.3.22

Distro releases

ReleasePackageFixed in
Chainguardkatib-earlystopping0.19.0-r31
Chainguardkatib-suggestion-goptuna-compat0.19.0-r40
Chainguardkatib-suggestion-hyperband0.19.0-r31
Chainguardkatib-suggestion-hyperopt0.19.0-r40
Chainguardkatib-suggestion-hyperopt0.19.0-r31
Chainguardkatib-suggestion-nas-darts0.19.0-r31
Chainguardkatib-suggestion-nas-enas0.19.0-r31
Chainguardkatib-suggestion-optuna-enas0.19.0-r31
Chainguardkatib-suggestion-pbt-enas0.19.0-r31
Chainguardkatib-suggestion-skopt-enas0.19.0-r31
Chainguardkatib-tfevent-metricscollector0.19.0-r31
Debian 12angular.jsno fix
Debian 13angular.jsno fix
Ubuntu 22.04 LTSangular.jsno fix
Ubuntu 24.04 LTSangular.jsno fix
Ubuntu 25.10angular.jsno fix
Ubuntu 26.04 LTSangular.jsno fix
Ubuntu 26.10angular.jsno fix
Ubuntu Pro 16.04 LTSangular.jsno fix
Ubuntu Pro 18.04 LTSangular.jsno fix
Ubuntu Pro 20.04 LTSangular.jsno fix
Wolfikatib-earlystopping0.19.0-r31
Wolfikatib-suggestion-goptuna-compat0.19.0-r40
Wolfikatib-suggestion-hyperband0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r40
Wolfikatib-suggestion-hyperopt0.19.0-r31
Wolfikatib-suggestion-nas-darts0.19.0-r31
Wolfikatib-suggestion-nas-enas0.19.0-r31
Wolfikatib-suggestion-optuna-enas0.19.0-r31
Wolfikatib-suggestion-pbt-enas0.19.0-r31
Wolfikatib-suggestion-skopt-enas0.19.0-r31
Wolfikatib-tfevent-metricscollector0.19.0-r31