Back
CVE-2021-4231
Angular Comment cross site scripting
Low3.5EPSS 1.2%
- Published
- Updated
- Reserved
- Assigned by
- VulDB
Description
A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 3.1 | Low3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.5.
Weakness
Affected products
- affected 11.0.0
- affected 11.0.1
- affected 11.0.2
- affected 11.0.3
- affected 11.0.4
- affected 11.1.0-next.0
- affected 11.1.0-next.1
- affected 11.1.0-next.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@angular/coreGHSA-c75v-2vq8-878f (opens in a new tab)
References (4)
- https://github.com/angular/angular/issues/40136 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 (opens in a new tab)x_refsource_MISCx_transferred
- https://vuldb.com/?id.181356 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c75v-2vq8-878f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-4231)Record last updated .