HIGH 6.1

CVE-2021-20293

Cross-Site Scripting

Description

A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.jboss.resteasy » resteasy-bom
<= 4.6.0.Final
-
org.jboss.resteasy » resteasy-core
<= 4.6.0.Final
-

Blast radius

2affected artifacts
208affected versions
686dependent artifacts (est.)
12,418dependent versions

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

DepthDependent versions
Direct
920
2 hops
2,831
3 hops
3,340
4 hops
3,323
5 hops
1,543
6 hops
461

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.