CVE catalog

CVE-2026-52725

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

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianangular.jssid1.8.3-3unknown
Debianangular.jstrixie1.8.3-3unknown
Debianangular.jsbookworm1.8.3-1+deb12u1unknown
Cpeangular.jsNot reportedNot reportedvulnerable
CpeangularNot reportedNot reportedunknown
CpeangularNot reported19.2.23fixed
CpeangularNot reported20.3.22fixed
CpeangularNot reported21.2.15fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianangular.jssourcesid(unfixed)not yet assignedNot reportedNot reported
Debianangular.jssourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianangular.jssourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpeangularcpeNot reported19.2.23Not reportedNot reportedNot reported
CpeangularcpeNot reported20.3.22Not reportedNot reportedNot reported
CpeangularcpeNot reported21.2.15Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libjs-angularjs]Affected

    Source package: [angular.js]

    Details (2)
    • 1.8.3-1+deb12u1 · all · bookworm

      Affected

      nvd · angular.js · debian · bookworm; nvd · angular.js · debian · 12

    • 1.8.3-1+deb12u1 · all · bookworm

      Affected

      nvd · angular.js · debian · bookworm; nvd · angular.js · debian · 12

[Debian 13 (Trixie)]

  • [libjs-angularjs]Affected

    Source package: [angular.js]

    Details (2)
    • 1.8.3-3 · all · trixie

      Affected

      nvd · angular.js · debian · 13

    • 1.8.3-3 · all · trixie

      Affected

      nvd · angular.js · debian · 13

Observed:

References