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.
Angular es una plataforma de desarrollo para construir aplicaciones web móviles y de escritorio usando TypeScript/JavaScript y otros lenguajes. Antes de las versiones 19.2.18, 20.3.16, 21.0.7 y 21.1.0-rc.0, una vulnerabilidad de cross-site scripting (XSS) ha sido identificada en el Compilador de Plantillas de Angular. La vulnerabilidad existe porque el esquema de saneamiento interno de Angular no reconoce los atributos href y xlink:href de los elementos SVG
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Attack Vector | NETWORK |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | NONE |
| User Interaction | REQUIRED |
| Scope | CHANGED |
| Confidentiality Impact | LOW |
| Integrity Impact | LOW |
| Availability Impact | NONE |
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
| Attack Vector | NETWORK |
|---|---|
| Attack Complexity | LOW |
| Attack Requirements | NONE |
| Privileges Required | LOW |
| User Interaction | ACTIVE |
| Vulnerability Confidentiality | HIGH |
| Vulnerability Integrity | HIGH |
| Vulnerability Availability | HIGH |
| Subsequent Confidentiality | NONE |
| Subsequent Integrity | NONE |
| Subsequent Availability | NONE |
Source: [email protected]
Type: Secondary
| Source | Type | Description |
|---|---|---|
| [email protected] | Secondary |
en
CWE-79
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| angular | angular | * | <built-in method update of dict object at 0x7f76011c3c80> | Application |
| angular | angular | * | <built-in method update of dict object at 0x7f7602741f40> | Application |
| angular | angular | * | <built-in method update of dict object at 0x7f7602743440> | Application |
| angular | angular | * | <built-in method update of dict object at 0x7f7602740300> | Application |
| angular | angular | 21.1.0 | <built-in method update of dict object at 0x7f76011c1d40> | Application |
| angular | angular | 21.1.0 | <built-in method update of dict object at 0x7f76394cdb40> | Application |
| angular | angular | 21.1.0 | <built-in method update of dict object at 0x7f76027425c0> | Application |
| angular | angular | 21.1.0 | <built-in method update of dict object at 0x7f7637fd71c0> | Application |
| angular | angular | 21.1.0 | <built-in method update of dict object at 0x7f7602743a00> | Application |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:21.1.0:next0:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:21.1.0:next1:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:21.1.0:next2:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:21.1.0:next3:*:*:*:node.js:*:* |
| Yes | cpe:2.3:a:angular:angular:21.1.0:next4:*:*:*:node.js:*:* |