Vulnerability Details : 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 category: Cross site scripting (XSS)
Products affected by CVE-2021-4231
- cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:11.1.0:next_1:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:11.1.0:next_2:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:11.1.0:next_0:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-4231
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 32 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4231
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:P/A:N |
6.8
|
2.9
|
NIST | |
3.5
|
LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST |
CWE ids for CVE-2021-4231
-
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.Assigned by:
- cna@vuldb.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2021-4231
-
https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902
Cross-site Scripting (XSS) in @angular/core | SnykThird Party Advisory
-
https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09
fix(core): fix possible XSS attack in development through SSR (#40525) · angular/angular@ba8da74 · GitHubPatch;Third Party Advisory
-
https://vuldb.com/?id.181356
Login requiredThird Party Advisory
-
https://github.com/angular/angular/issues/40136
Xss fix by mhevery · Pull Request #40136 · angular/angular · GitHubThird Party Advisory
Jump to