# CVE-2026-22610: Angular has XSS Vulnerability via Unsanitized SVG Script Attributes

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-01-09T18:52:14.000Z
- Modified: 2026-09-10T03:50:33.469Z
- Also known as: GHSA-jrmj-c5cx-3cw6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 <script> 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.

(As written by CVE List.)

## Affected

- angular angular: >= 21.1.0-next.0, < 21.1.0-rc.0; >= 21.0.0-next.0, < 21.0.7; >= 20.0.0-next.0, < 20.3.16; < 19.2.18; up to 18.2.14; from 19.0.0 before 19.2.18; from 20.0.0 before 20.3.16; from 21.0.0 before 21.0.7; 21.1.0
- @angular/compiler (npm): from 21.1.0-next.0 before 21.1.0-rc.0; from 21.0.0-next.0 before 21.0.7; from 20.0.0-next.0 before 20.3.16; from 19.0.0-next.0 before 19.2.18; up to 18.2.14
- @angular/core (npm): from 21.1.0-next.0 before 21.1.0-rc.0; from 21.0.0-next.0 before 21.0.7; from 20.0.0-next.0 before 20.3.16; from 19.0.0-next.0 before 19.2.18; up to 18.2.14

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6> (mitigation, vendor-advisory, web)
- <https://github.com/angular/angular/pull/66318> (issue-tracking, web)
- <https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56> (patch, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-485750.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22610> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-22610](https://www.cve.org/CVERecord?id=CVE-2026-22610), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-jrmj-c5cx-3cw6](https://github.com/advisories/GHSA-jrmj-c5cx-3cw6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-22610](https://nvd.nist.gov/vuln/detail/CVE-2026-22610), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22610 · Whole record: https://cve.day/CVE-2026-22610.json · Rebuilt by cve.day 2026-11-25T22:59:12.712Z
