CVE-2021-20293
Cross-Site Scripting
Reported by redhat · Published June 10, 2021
resteasy-bom is fixed in 4.6.0.Final (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jboss.resteasy:resteasy-bom | Maven Central | 4.6.0.Final |
| org.jboss.resteasy:resteasy-core | Maven Central | 4.6.0.Final, 4.6.0 |
| resteasy | redhat | 4.6.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | RESTEasy | All versions of RESTEasy up to 4.6.0.Final |
| Maven | org.jboss.resteasy:resteasy-bom | 0 |
| Maven | org.jboss.resteasy:resteasy-core | 0 |
| n/a | RESTEasy | * |
Timeline
- Jun 10, 2021 CVE Published
- Jun 11, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Mar 17, 2026 Distribution Patch (19 in total, the first dated here)
- Mar 17, 2026 Security Advisory (20 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-20293
vulnetix vdb fixes CVE-2021-20293
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20293/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2021-20293 advisory
- https://github.com/advisories/GHSA-5h26-c766-g93v advisory