{"answers":{"affected":"20 open source packages ship an affected version, including @angular/compiler and @angular/core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-22610 in the wild and no public exploit code.","fix":"Upgrade @angular/compiler to a fixed version for your release line: 19.2.18, 20.3.16, 21.0.7 or 21.1.0-rc.0.","what":"CVE-2026-22610 is a high-severity cross-site scripting vulnerability in angular, published on 10 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-22610 and fix it if it is affected.\n\nWhat it is: CVE-2026-22610 is a high-severity cross-site scripting vulnerability in angular, published on 10 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-22610 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @angular/compiler (npm): affected all versions up to 18.2.14; no fix listed\n- @angular/compiler (npm): affected all versions up to 18.2.14; no fix listed\n- @angular/compiler (npm): affected from 19.0.0-next.0; fixed in 19.2.18\n- @angular/compiler (npm): affected from 19.0.0-next.0; fixed in 19.2.18\n- @angular/compiler (npm): affected from 20.0.0-next.0; fixed in 20.3.16\n- @angular/compiler (npm): affected from 20.0.0-next.0; fixed in 20.3.16\n- @angular/compiler (npm): affected from 21.0.0-next.0; fixed in 21.0.7\n- @angular/compiler (npm): affected from 21.0.0-next.0; fixed in 21.0.7\n- @angular/compiler (npm): affected from 21.1.0-next.0; fixed in 21.1.0-rc.0\n- @angular/compiler (npm): affected from 21.1.0-next.0; fixed in 21.1.0-rc.0\n- @angular/core (npm): affected all versions up to 18.2.14; no fix listed\n- @angular/core (npm): affected all versions up to 18.2.14; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22610/ (Markdown: https://insights.sbomify.com/CVE-2026-22610/index.md)","id":"CVE-2026-22610","markdown":"https://insights.sbomify.com/CVE-2026-22610/index.md","name":"CVE-2026-22610","record":{"aliases":["CLSA-2026-1774657389","CLSA-2026-1775176141","CLSA-2026-1775176145","CLSA-2026-1775176149","CLSA-2026-1775176156","CLSA-2026-1775176158","CLSA-2026-1775176160","CLSA-2026-1775176162","CLSA-2026-1775176164","CLSA-2026-1775176168","CLSA-2026-1775176171","CLSA-2026-1775176177","CLSA-2026-1775176185","CLSA-2026-1792160980","CLSA-2026-1792161082","CLSA-2026-1792161086","CLSA-2026-1792161088","CLSA-2026-1792161089","CLSA-2026-1792161094","CLSA-2026-1792161096","CLSA-2026-1792161098","CLSA-2026-1792161099","CLSA-2026-1792161101","CLSA-2026-1792161103","CLSA-2026-1792161105","CLSA-2026-1792161108","CLSA-2026-1792161113","CLSA-2026-1792163469","CLSA-2026-1792163471","CLSA-2026-1792163473","CLSA-2026-1792163475","CLSA-2026-1792163481","CLSA-2026-1792163483","CLSA-2026-1792163485","CLSA-2026-1792163487","CLSA-2026-1792163489","CLSA-2026-1792163492","CLSA-2026-1792163496","CLSA-2026-1792163501","CLSA-2026-1792208078","CLSA-2026-1792208082","CLSA-2026-1792208083","CLSA-2026-1792208085","CLSA-2026-1792208450","CLSA-2026-1792208454","CLSA-2026-1792208496","CLSA-2026-1792208500","CLSA-2026-1792208501","CLSA-2026-1792208503","CLSA-2026-1792208516","CLSA-2026-1792208527","CLSA-2026-1792208539","CLSA-2026-1792250186","CLSA-2026-1792250189","CLSA-2026-1792250191","CLSA-2026-1792250193","CLSA-2026-1792250195","CLSA-2026-1792250470","CLSA-2026-1792250517","CLSA-2026-1792250518","CLSA-2026-1792250520","CLSA-2026-1792250521","CLSA-2026-1792250561","CLSA-2026-1792250563","CLSA-2026-1792250592","CLSA-2026-1792281027","CLSA-2026-1792281031","CLSA-2026-1792281032","CLSA-2026-1792281698","CLSA-2026-1792281702","CLSA-2026-1792281704","CLSA-2026-1792281705","CLSA-2026-1792281706","CLSA-2026-1792281707","CLSA-2026-1792281708","CLSA-2026-1792281800","CLSA-2026-1792281802","CLSA-2026-1792281803","CLSA-2026-1792325293","CLSA-2026-1792325296","CLSA-2026-1792325298","CLSA-2026-1792325302","CLSA-2026-1792325303","CLSA-2026-1792325925","CLSA-2026-1792325929","CLSA-2026-1792325930","CLSA-2026-1792326019","CLSA-2026-1792326021","CLSA-2026-1792326022","CLSA-2026-1792326040","CLSA-2026-1792326041","CLSA-2026-1792345153","CLSA-2026-1792345156","CLSA-2026-1792345159","CLSA-2026-1792345161","CLSA-2026-1792345628","CLSA-2026-1792345632","CLSA-2026-1792345634","CLSA-2026-1792345635","CLSA-2026-1792345682","CLSA-2026-1792345685","CLSA-2026-1792345687","CLSA-2026-1792345699","CLSA-2026-1792345721","CLSA-2026-1792357202","CLSA-2026-1792357205","CLSA-2026-1792357207","CLSA-2026-1792357210","CLSA-2026-1792357215","CLSA-2026-1792357766","CLSA-2026-1792357768","CLSA-2026-1792357769","CLSA-2026-1792358023","CLSA-2026-1792358026","CLSA-2026-1792358027","CLSA-2026-1792358061","CLSA-2026-1792366519","CLSA-2026-1792366522","CLSA-2026-1792366524","CLSA-2026-1792366525","CLSA-2026-1792366527","CLSA-2026-1792366529","CLSA-2026-1792366874","CLSA-2026-1792366879","CLSA-2026-1792366893","CLSA-2026-1792366895","CLSA-2026-1792366936","CLSA-2026-1792366937","CLSA-2026-1792366938","CLSA-2026-1792371582","CLSA-2026-1792371586","CLSA-2026-1792371997","CLSA-2026-1792371998","CLSA-2026-1792372000","CLSA-2026-1792372001","CLSA-2026-1792372047","CLSA-2026-1792372048","CLSA-2026-1792372064","CLSA-2026-1792375675","CLSA-2026-1792375678","CLSA-2026-1792375680","CLSA-2026-1792375682","CLSA-2026-1792375683","CLSA-2026-1792375684","CLSA-2026-1792376049","CLSA-2026-1792376053","CLSA-2026-1792376070","CLSA-2026-1792376071","CLSA-2026-1792376074","CLSA-2026-1792376108","CLSA-2026-1792376113","CLSA-2026-1792379935","CLSA-2026-1792379938","CLSA-2026-1792380378","CLSA-2026-1792380379","CLSA-2026-1792380383","CLSA-2026-1792380384","CLSA-2026-1792380404","CLSA-2026-1792380406","CLSA-2026-1792380418","CLSA-2026-1792380429","CLSA-2026-1792380440","CLSA-2026-1792380445","CLSA-2026-1792380446","CLSA-2026-1792382566","CLSA-2026-1792382569","CLSA-2026-1792382571","CLSA-2026-1792382573","CLSA-2026-1792382574","CLSA-2026-1792382576","CLSA-2026-1792382904","CLSA-2026-1792382922","CLSA-2026-1792382923","CLSA-2026-1792382935","CLSA-2026-1792382956","CLSA-2026-1792382960","CLSA-2026-1792382989","CLSA-2026-1792386040","CLSA-2026-1792386043","CLSA-2026-1792386045","CLSA-2026-1792386047","CLSA-2026-1792386410","CLSA-2026-1792386414","CLSA-2026-1792386415","CLSA-2026-1792386434","CLSA-2026-1792386436","CLSA-2026-1792386438","CLSA-2026-1792386439","CLSA-2026-1792386480","CLSA-2026-1792386483","GHSA-jrmj-c5cx-3cw6","UBUNTU-CVE-2026-22610"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Angular web framework","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary scripts via unsanitized SVG script attributes in Angular applications, requiring an upgrade to patched versions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"angular","vendor":"angular"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0, a cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler. The vulnerability exists because Angular’s internal sanitization schema fails to recognize the href and xlink:href attributes of SVG \u003cscript\u003e elements as a Resource URL context. This issue has been patched in versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-01-18","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-18T11:38:02Z","kind":"github_poc","ref":"https://github.com/ashizZz/CVE-2026-22610","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Angular has XSS Vulnerability via Unsanitized SVG Script Attributes","id":"CVE-2026-22610","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":20,"n_references":3,"next":{"headline":"AWS SDK for .NET V4 adopted defense in depth enhancement for region parameter value","id":"CVE-2026-22611"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["18.2.14"],"package":"@angular/compiler","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["18.2.14"],"package":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["20.3.16"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["20.3.16"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.0.7"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.0.7"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.1.0-rc.0"],"introduced":["21.1.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.1.0-rc.0"],"introduced":["21.1.0-next.0"],"last_affected":[],"package":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["18.2.14"],"package":"@angular/core","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["18.2.14"],"package":"@angular/core","purl":"pkg:npm/%40angular/core","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["19.2.18"],"introduced":["19.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":"pkg:npm/%40angular/core","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["20.3.16"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["20.3.16"],"introduced":["20.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":"pkg:npm/%40angular/core","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.0.7"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.0.7"],"introduced":["21.0.0-next.0"],"last_affected":[],"package":"@angular/core","purl":"pkg:npm/%40angular/core","source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.1.0-rc.0"],"introduced":["21.1.0-next.0"],"last_affected":[],"package":"@angular/core","purl":null,"source":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","fixed":["21.1.0-rc.0"],"introduced":["21.1.0-next.0"],"last_affected":[],"package":"@angular/core","purl":"pkg:npm/%40angular/core","source":"GHSA-jrmj-c5cx-3cw6"}],"prev":{"headline":"Fickling has Static Analysis Bypass via Incomplete Dangerous Module Blocklist","id":"CVE-2026-22609"},"products":["angular"],"published":"2026-01-10","related":[{"cvss_score":8.8,"headline":"Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning","id":"CVE-2026-68945","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":8.8,"headline":"Angular: SSRF via Hostname Hijacking in @angular/platform-server","id":"CVE-2026-46417","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":8.8,"headline":"Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass","id":"CVE-2026-50168","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":8.8,"headline":"Angular: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoning","id":"CVE-2026-54266","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":8.7,"headline":"Angular: SSRF via protocol-relative and backslash URLs in Angular Platform-Server","id":"CVE-2026-41423","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":8.6,"headline":"Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR","id":"CVE-2026-88056","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.6,"headline":"Angular: SSR XSS via Unescaped Processing Instruction (\u003c?...?\u003e) Nodes in Fallback Raw-Content Elements","id":"CVE-2026-88058","kev_date_added":null,"published":"2026-09-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["angular"]},"summary":"Attackers can execute arbitrary scripts via unsanitized SVG script attributes in Angular applications, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-22610/"}