XSS in Angular
CVE-2021-4231
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.5 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.012 (65.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Angular — versions 11.1.0
- Angularjs
- Unspecified Angular — versions 11.0.0, 11.0.1, 11.0.2
Weakness classification (CWE)
References
- github.com/angular/angular/issues/40136 (Third Party Advisory)
- github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 (Patch, Third Party Advisory)
- security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 (Third Party Advisory)
- vuldb.com/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-4231?
- CVE-2021-4231 is a low-severity vulnerability in Angular, classified under Cross-site Scripting. CVSS score: 3.5/10. Published 2022-05-26.
- How severe is CVE-2021-4231?
- Low severity. CVSS v3 base score is 3.5 out of 10.