CVE-2021-4231Angular Comment cross site scripting
- 3.5LowCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 32% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By VulDB
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.5.
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
References4
- 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)
- EUVD EUVD-2022-3522 (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://cveledger.app/cve/CVE-2021-4231)Record last updated .