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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jboss.resteasy » resteasy-bom | <= 4.6.0.Final | - |
| org.jboss.resteasy » resteasy-core | <= 4.6.0.Final | - |
Blast radius
34% of the dependent artifacts (237) still pull an affected version in their latest release.
| Depth | Dependent 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
- io.quarkus » quarkus-resteasy1,251 usages
- org.jboss.resteasy » resteasy-client895 usages
- io.quarkus » quarkus-resteasy-jackson543 usages
- io.quarkus » quarkus-smallrye-openapi419 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.jboss.resteasy » resteasy-multipart-provider336 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- io.quarkus » quarkus-resteasy-jsonb231 usages
- io.quarkus » quarkus-vertx229 usages
- io.quarkus » quarkus-rest-client212 usages
- io.quarkus » quarkus-rest-client-jackson198 usages
- org.jboss.resteasy » resteasy-cdi198 usages
- io.quarkus » quarkus-vertx-deployment163 usages
- io.quarkus » quarkus-resteasy-deployment129 usages
- org.kie.kogito » kogito-quarkus124 usages
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.
