CVE-2021-4231Angular 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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1-source-built-artifacts | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet3.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | firefox | Not affected | ||
| Red Hat Enterprise Linux 7 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 6 | firefox | Not affected | ||
| npm library | @angular/core | Fixed | 10.2.5 | GHSA-c75v-2vq8-878f |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- unspecified Angular: affected: 11.0.0, 11.0.1, 11.0.2, 11.0.3, 11.0.4, 11.1.0-next.0
References
- https://github.com/angular/angular/issues/40136
- https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09
- https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902
- https://vuldb.com/?id.181356
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.