Security mailing lists by PureSourceCode

CVE-2026-22610

HIGH 8.5CVSS 4.0

Angular has XSS Vulnerability via Unsanitized SVG Script Attributes

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.

Published
10 Jan 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-jrmj-c5cx-3cw6
Sources
NVDJSONOSV GHSA-jrmj-c5cx-3cw6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.5 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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 nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
<= 18.2.14
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 19.0.0, < 19.2.18 19.2.18
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 20.0.0, < 20.3.16 20.3.16
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 21.0.0, < 21.0.7 21.0.7
NVD angular angular
cpe:2.3:a:angular:angular:21.1.0:next0:*:*:*:node.js:*:*
= 21.1.0
NVD angular angular
cpe:2.3:a:angular:angular:21.1.0:next1:*:*:*:node.js:*:*
= 21.1.0
NVD angular angular
cpe:2.3:a:angular:angular:21.1.0:next2:*:*:*:node.js:*:*
= 21.1.0
NVD angular angular
cpe:2.3:a:angular:angular:21.1.0:next3:*:*:*:node.js:*:*
= 21.1.0
NVD angular angular
cpe:2.3:a:angular:angular:21.1.0:next4:*:*:*:node.js:*:*
= 21.1.0
OSV npm @angular/compiler >= 21.1.0-next.0, < 21.1.0-rc.0 21.1.0-rc.0
OSV npm @angular/core >= 21.1.0-next.0, < 21.1.0-rc.0 21.1.0-rc.0
OSV npm @angular/compiler >= 21.0.0-next.0, < 21.0.7 21.0.7
OSV npm @angular/core >= 21.0.0-next.0, < 21.0.7 21.0.7
OSV npm @angular/compiler >= 20.0.0-next.0, < 20.3.16 20.3.16
OSV npm @angular/core >= 20.0.0-next.0, < 20.3.16 20.3.16
OSV npm @angular/compiler >= 19.0.0-next.0, < 19.2.18 19.2.18
OSV npm @angular/core >= 19.0.0-next.0, < 19.2.18 19.2.18
OSV npm @angular/compiler <= 18.2.14
OSV npm @angular/core <= 18.2.14

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Jan 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.