ADVISORIES

GitHub Advisory Database

GHSA-c75v-2vq8-878f

Angular vulnerable to Cross-site Scripting

Moderate CVE-2021-4231

Details

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 10.2.5, 11.0.5 or 11.1.0-next.3 is advised to to address this issue.

Affected packages

EcosystemPackageAffected versions
npm@angular/core
From 11.0.0 before 11.0.5 (fixed in 11.0.5)
npm@angular/core
From 11.1.0-next.0 before 11.1.0-next.3 (fixed in 11.1.0-next.3)
npm@angular/core
All versions before 10.2.5 (fixed in 10.2.5)

References