CVE-2021-4231: angular Cross-site Scripting
Vulnerability summary
CVE-2021-4231 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in angular. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 26-05-2022PublishedVulnerability first disclosed.
- 15-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.02 pp
From 1.16% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard12 products
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compat< 0.19.0-r40
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
- katib-suggestion-nas-darts< 0.19.0-r31
Wolfi12 products
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compat< 0.19.0-r40
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
- katib-suggestion-nas-darts< 0.19.0-r31
@angular1 product
- core≥ 11.0.0, < 11.0.5 | ≥ 11.1.0-next.0, < 11.1.0-next.3 | < 10.2.5
Angular1 product
- angularEOL11.1.0:next0 | 11.1.0:next1 | 11.1.0:next2
Angularjs1 product
- angularjs< 11.0.5
Unspecified1 product
- angular11.0.0 | 11.0.1 | 11.0.2 | 11.0.3 | 11.0.4 | 11.1.0-next.0 | 11.1.0-next.1 | 11.1.0-next.2
6 vendors · 28 products
References
8 links- github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09X Refsource MISCFIXWEBPatchThird Party Advisory
- github.com/angular/angularPACKAGE