{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52725","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-06-08T14:00:43.571Z","datePublished":"2026-06-22T15:18:43.036Z","dateUpdated":"2026-06-22T15:59:33.229Z"},"containers":{"cna":{"title":"Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7"},{"name":"https://github.com/angular/angular/pull/68686","tags":["x_refsource_MISC"],"url":"https://github.com/angular/angular/pull/68686"},{"name":"https://github.com/angular/angular/pull/68713","tags":["x_refsource_MISC"],"url":"https://github.com/angular/angular/pull/68713"}],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":">= 22.0.0-next.0 < 22.0.0-rc.2","status":"affected"},{"version":">= 21.0.0-next.0 < 21.2.15","status":"affected"},{"version":">= 20.0.0-next.0 < 20.3.22","status":"affected"},{"version":">= 19.0.0-next.0 < 19.2.22","status":"affected"},{"version":"<= 18.2.14","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-06-22T15:18:43.036Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-692r-grfm-v8x7","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T15:59:13.494116Z","id":"CVE-2026-52725","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-06-22T15:59:33.229Z"}}]}}