CVE-2026-52725
Description
A flaw was found in the @angular/core component. This vulnerability allows an attacker to bypass security restrictions when creating dynamic components. By manipulating the host element or selector, an attacker can force an Angular component to be mounted directly onto a script tag. This can result in the execution of untrusted code or client-side Cross-Site Scripting (XSS), potentially compromising user data or system integrity.
Statement
Red Hat has evaluated this vulnerability and determined that most products listed as shipping @angular/core in their SBOMs are not affected. The majority of flagged components (firefox, thunderbird, mozjs, gjs, intel-cmt-cat, syncthing, ceph, and others) either do not use the Angular framework at all (technology mismatch — these are C++/Rust/Go applications), use the unrelated AngularJS 1.x framework (which lacks the createComponent API), or have the Angular frontend excluded from the productized build (e.g., Ceph RPMs build with -DWITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF). The createComponent API that this vulnerability targets is specific to @angular/core version 2+ and is not reachable in these components.
Mitigation
Users of applications built with @angular/core versions prior to 19.2.23, 20.3.22, 21.2.15, or 22.0.0-rc.2 should upgrade to the fixed versions. Applications that do not use the createComponent API with user-controlled host element parameters are not exploitable.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.8 | 6.1 | N/A |
| Attack Vector | Network | Network | N/A |
| Attack Complexity | High | Low | N/A |
| Privileges Required | None | None | N/A |
| User Interaction | Required | Required | N/A |
| Scope | Unchanged | Changed | N/A |
| Confidentiality | High | Low | N/A |
| Integrity Impact | High | Low | N/A |
| Availability Impact | None | None | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Understanding the Weakness (CWE)
Integrity
Technical Impact: Unexpected State
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.