5.4
MEDIUM
CVE-2021-4231
"Angular Cross Site Scripting in Comment Handling"
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.

INFO

Published Date :

May 26, 2022, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 6:37 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2021-4231 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Angular angular
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-4231.

URL Resource
https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 Patch Third Party Advisory
https://github.com/angular/angular/issues/40136 Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 Third Party Advisory
https://vuldb.com/?id.181356 Third Party Advisory
https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 Patch Third Party Advisory
https://github.com/angular/angular/issues/40136 Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 Third Party Advisory
https://vuldb.com/?id.181356 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-4231 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-4231 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09
    Added Reference https://github.com/angular/angular/issues/40136
    Added Reference https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902
    Added Reference https://vuldb.com/?id.181356
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jun. 07, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 No Types Assigned https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09 Patch, Third Party Advisory
    Changed Reference Type https://github.com/angular/angular/issues/40136 No Types Assigned https://github.com/angular/angular/issues/40136 Third Party Advisory
    Changed Reference Type https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 No Types Assigned https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902 Third Party Advisory
    Changed Reference Type https://vuldb.com/?id.181356 No Types Assigned https://vuldb.com/?id.181356 Third Party Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions up to (excluding) 11.0.5 *cpe:2.3:a:angular:angular:11.1.0:next_0:*:*:*: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:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-4231 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-4231 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} -0.00%

score

0.31835

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability