VYPR
Moderate severityNVD Advisory· Published May 26, 2022· Updated Apr 15, 2025

Angular Comment cross site scripting

CVE-2021-4231

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
@angular/corenpm
>= 11.0.0, < 11.0.511.0.5
@angular/corenpm
>= 11.1.0-next.0, < 11.1.0-next.311.1.0-next.3
@angular/corenpm
< 10.2.510.2.5

Affected products

6

Patches

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.