Answer in brief
CVE-2021-4231 records a Medium severity (CVSS 5.4) vulnerability in Angular vulnerable to Cross-site Scripting. The current sources do not mark it as known exploited. The current feed maps @angular/core (npm), @angular/core (npm), @angular/core (npm), @angular/core (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.4. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps @angular/core (npm), @angular/core (npm), @angular/core (npm), @angular/core (npm) and additional mapped packages. Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| @angular/corenpm | >=11.0.0 <11.0.5 | 11.0.5 |
| @angular/corenpm | >=11.1.0-next.0 <11.1.0-next.3 | 11.1.0-next.3 |
| @angular/corenpm | >=0 <10.2.5 | 10.2.5 |
| @angular/corenpm | >=11.1.0-next.0,<=11.1.0-next.2 | 11.1.0-next.3 |
| @angular/corenpm | >=11.0.0,<11.0.5 | 11.0.5 |
| @angular/corenpm | <10.2.5 | 10.2.5 |
Published upstream
May 27, 2022
Evidence: source:ghsa:source_dates:source-dates:recordSource modified
Feb 4, 2026
Evidence: source:ghsa:source_dates:source-dates:recordFirst seen by HOL
Aug 7, 2026
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 10.2.5, 11.0.5 or 11.1.0-next.3 is advised to to address this issue.
Quoted source text, attributed separately from HOL analysis.