Vulnerability · Published Jun 10, 2021 · Assigned by redhat

CVE-2021-20293

Medium 6.1

In plain English

A medium-severity cross-site scripting in RESTEasy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.9%top 41.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.jboss.resteasy:resteasy-bomno fix listedGHSA-5h26-c766-g93v
Mavenorg.jboss.resteasy:resteasy-coreno fix listedGHSA-5h26-c766-g93v
Ubuntu:22.04:LTSresteasyno fix listedUBUNTU-CVE-2021-20293
Ubuntu:24.04:LTSresteasyno fix listedUBUNTU-CVE-2021-20293
Ubuntu:22.04:LTSresteasy3.0no fix listedUBUNTU-CVE-2021-20293
Ubuntu:24.04:LTSresteasy3.0no fix listedUBUNTU-CVE-2021-20293

Affected products (as reported)

VendorProductVersions
n/a RESTEasy All versions of RESTEasy up to 4.6.0.Final

Weakness: CWE-79

References