LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4231: Angular Comment cross site scripting

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.

LowCVSS 3.5Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

This is a low-severity cross-site scripting issue in Angular’s comment handling. An attacker could remotely affect page integrity, but the CVSS data indicates they need low privileges and user interaction. The source bundle names fixed versions, and it does not show active exploitation.

Executive priority

Treat this as a routine patching item, not an emergency, unless affected Angular apps handle sensitive workflows or broad authenticated user content. Fixed versions are available, so remediation should be folded into normal dependency maintenance.

Technical view

CVE-2021-4231 is CWE-79 affecting Angular 11.0.0-11.0.4 and 11.1.0-next.0-next.2. The reported flaw is comment handling that can lead to XSS. CVSS 3.1 is 3.5 with network attack vector, low complexity, low privileges, required user interaction, and low integrity impact only.

Likely exposure

Exposure is most likely in web applications still running the listed Angular 11 releases, especially where attacker-controlled content can reach comment-handling paths. The bundle does not identify affected configurations beyond those versions.

Exploitation context

The bundle says remote attack is possible and may require authentication first. It provides no evidence of public weaponization, no proof-of-concept details, and KEV is false, so active exploitation should not be assumed.

Researcher notes

The source detail is limited to version ranges, CVSS, CWE-79 classification, comment handling, and the patch reference. Avoid assuming a specific exploitable sink or bypass without reviewing the Angular issue and patch context.

Mitigation direction

  • Upgrade Angular 11.0.x applications to 11.0.5 or later.
  • Upgrade Angular 11.1.0-next applications to 11.1.0-next.3 or later.
  • Confirm dependency lockfiles no longer resolve to affected Angular versions.
  • Check Angular vendor guidance before applying compensating controls not named in sources.

Validation and detection

  • Inventory applications for Angular 11.0.0 through 11.0.4.
  • Check for Angular 11.1.0-next.0 through 11.1.0-next.2.
  • Verify builds include the patch commit or a fixed release.
  • Run regression tests covering rendering of untrusted content.
  • Review authenticated user paths that accept or display user-controlled content.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4231 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.5CVSS 3.1LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N2.11.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.5Low
CVSS 3.1 vector shape for CVE-2021-4231Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
unspecifiedAngular11.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.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.