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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.jboss.resteasy:resteasy-bom | no fix listed | GHSA-5h26-c766-g93v |
| Maven | org.jboss.resteasy:resteasy-core | no fix listed | GHSA-5h26-c766-g93v |
| Ubuntu:22.04:LTS | resteasy | no fix listed | UBUNTU-CVE-2021-20293 |
| Ubuntu:24.04:LTS | resteasy | no fix listed | UBUNTU-CVE-2021-20293 |
| Ubuntu:22.04:LTS | resteasy3.0 | no fix listed | UBUNTU-CVE-2021-20293 |
| Ubuntu:24.04:LTS | resteasy3.0 | no fix listed | UBUNTU-CVE-2021-20293 |
Affected products (as reported)
Weakness: CWE-79
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1942819 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210727-0005/ x_refsource_CONFIRM