MODERATE 5.4

CVE-2021-4231

Angular vulnerable to Cross-site Scripting

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

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm.at.angular » corevia npm @angular/core
< 10.2.5>= 11.0.0, < 11.0.5>= 11.1.0-next.0, < 11.1.0-next.3
10.2.5, 11.0.5, 11.1.0-next.3
org.webjars.npm » angular__corevia npm @angular/core
< 10.2.5>= 11.0.0, < 11.0.5>= 11.1.0-next.0, < 11.1.0-next.3
10.2.5, 11.0.5, 11.1.0-next.3

Blast radius

2affected artifacts
70affected versions
19dependent artifacts (est.)
52dependent versions

42% of the dependent artifacts (8) still pull an affected version in their latest release.

DepthDependent versions
Direct
34
2 hops
9
3 hops
9

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Websecurity.snyk.io
Webvuldb.com