Advisory

GHSA-c75v-2vq8-878f

Also known as: CVE-2021-4231

Summary

Angular vulnerable to Cross-site Scripting

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-27 00:01 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

@angular/core

npm · All systems

Affected

  • introduced 11.0.0, fixed 11.0.5 (semver)

Fixed versions

11.0.5

Fix

@angular/core

npm · All systems

Affected

  • introduced 11.1.0-next.0, fixed 11.1.0-next.3 (semver)

Fixed versions

11.1.0-next.3

Fix

@angular/core

npm · All systems

Affected

  • introduced 0, fixed 10.2.5 (semver)

Fixed versions

10.2.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences