{"id":"EUVD-2026-38261","enisaUuid":"f3115b5e-d1c2-308a-a501-487f2944f8c2","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 \u003cscript\u003e or namespaced script element (such as \u003csvg:script\u003e). 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 \u003cscript\u003e 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.","datePublished":"Jun 22, 2026, 3:18:43 PM","dateUpdated":"Jun 22, 2026, 3:59:33 PM","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7\nhttps://github.com/angular/angular/pull/68686\nhttps://github.com/angular/angular/pull/68713\n","aliases":"CVE-2026-52725\nGHSA-692r-grfm-v8x7\n","assigner":"GitHub_M","epss":0.46,"enisaIdProduct":[{"id":"2fdf12c0-0bff-3119-993e-045905832a08","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"19.0.0-next.0 \u003c 19.2.22"},{"id":"8a820294-1994-34fe-aea6-ff1ec7fa0b32","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"22.0.0-next.0 \u003c 22.0.0-rc.2"},{"id":"9b01b821-86d5-370d-aa79-db151b3cf43d","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"21.0.0-next.0 \u003c 21.2.15"},{"id":"d8c8b4ba-6e34-35d5-9239-4db06332416b","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"≤ 18.2.14"},{"id":"ebf8d8b5-46ea-3b16-8d84-20c77bbbd29d","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"20.0.0-next.0 \u003c 20.3.22"}],"enisaIdVendor":[{"id":"eb80dbf7-abbf-3a96-badb-ff523fbd6103","vendor":{"name":"angular"}}],"enisaIdVulnerability":[{"id":"7b3211c6-7f65-33c5-b2e5-0855ce1a43c0","vulnerability":{"id":"CVE-2026-52725","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 \u003cscript\u003e or namespaced script element (such as \u003csvg:script\u003e). 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 \u003cscript\u003e 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.","datePublished":"Jun 22, 2026, 3:18:43 PM","dateUpdated":"Jun 22, 2026, 3:59:33 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7\nhttps://github.com/angular/angular/pull/68686\nhttps://github.com/angular/angular/pull/68713\n","enisa_id":"EUVD-2026-38261\n","assigner":"GitHub_M","epss":0.46,"dataProcessed":"Nov 13, 2026, 7:20:19 AM","vulnerabilityProduct":[{"id":"20f14642-c57b-36b4-9630-0e873d75959e","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"20.0.0-next.0 \u003c 20.3.22"},{"id":"84ccab98-a1cd-3bf2-b34c-d9841ef9c2cb","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"22.0.0-next.0 \u003c 22.0.0-rc.2"},{"id":"b1f6eab5-9ce5-3ec7-a2ce-236ccd58f9d6","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"≤ 18.2.14"},{"id":"c4baa5e1-31d0-3ba2-9648-d73207193e81","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"19.0.0-next.0 \u003c 19.2.22"},{"id":"cab88c01-b469-330f-9922-ef091b34634e","product":{"name":"angular","vendor":{"name":"angular"}},"product_version":"21.0.0-next.0 \u003c 21.2.15"}],"vulnerabilityVendor":[{"id":"a190dca9-ffcb-3107-8105-310b5a76951b","vendor":{"name":"angular"}}]}},{"id":"7fc1d572-415c-39e0-9929-45d26c537990","vulnerability":{"id":"GHSA-692r-grfm-v8x7","description":"@angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)","datePublished":"Jun 15, 2026, 4:51:35 PM","dateUpdated":"Jul 15, 2026, 10:03:32 PM","baseScore":0.0,"references":"https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-52725\nhttps://github.com/angular/angular/pull/68686\nhttps://github.com/angular/angular/pull/68713\nhttps://github.com/angular/angular\n","enisa_id":"EUVD-2026-38261\n","aliases":"CVE-2026-52725\nGHSA-692r-grfm-v8x7\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:49:06 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}