Angular up to 11.0.4/11.1.0-next.2 on npm Comment cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.66 |
Summary
A vulnerability classified as problematic was found in Angular up to 11.0.4/11.1.0-next.2 on npm. Affected is an unknown function of the component Comment Handler. The manipulation results in cross site scripting. This vulnerability is identified as CVE-2021-4231. The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is advised.
Details
A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2 on npm (JavaScript Library). It has been classified as problematic. Affected is an unknown function of the component Comment Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity.
The weakness was released 08/24/2021 by Miško Hevery as 40136 as confirmed issue (GitHub). The advisory is shared for download at github.com. The public release was coordinated with the vendor. This vulnerability is traded as CVE-2021-4231. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1059.007.
Upgrading to version 11.0.5 or 11.1.0-next.3 eliminates this vulnerability. Applying the patch ba8da742e3b243e8f43d4c63aa842b44e14f2b09 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2022-3522). Further details are available at security.snyk.io. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/angular/angular/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.1VulDB Meta Temp Score: 4.1
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.4
NVD Vector: 🔍
CNA Base Score: 3.5
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Angular 11.0.5/11.1.0-next.3
Patch: ba8da742e3b243e8f43d4c63aa842b44e14f2b09
Timeline
08/24/2021 🔍08/24/2021 🔍
11/21/2025 🔍
Sources
Product: github.comAdvisory: 40136
Researcher: Miško Hevery
Status: Confirmed
Coordinated: 🔍
CVE: CVE-2021-4231 (🔍)
GCVE (CVE): GCVE-0-2021-4231
GCVE (VulDB): GCVE-100-181356
EUVD: 🔍
Misc.: 🔍
Entry
Created: 08/24/2021 07:57Updated: 11/21/2025 01:02
Changes: 08/24/2021 07:57 (40), 05/26/2022 09:07 (23), 11/20/2025 22:48 (43), 11/21/2025 01:02 (1)
Complete: 🔍
Submitter: misc
Cache ID: 216::103
Submit
Accepted
- Submit #18901: Cross-site Scripting (XSS) in Angular versions <11.0.5 || >=11.1.0-next.0 <11.1.0-next.3 (by misc)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.