CVE-2021-20293 json
Cross-Site Scripting
published 2021-06-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-5h26-c766-g93v , EUVD-2021-1269
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-20293 updated cvss 5.4
RESTEasy: PathParam in RESTEasy can lead to a reflected XSS attack
-
Red Hat build of Quarkus resteasy Red Hat Enterprise Linux 7 resteasy-base, resteasy-base-tjws, resteasy-base-jaxrs, resteasy-base-client, resteasy-base-javadoc, resteasy-base-jaxrs-all, +7 more Red Hat Enterprise Linux 8 resteasy, resteasy-javadoc Red Hat Fuse 7 resteasy Red Hat Integration Camel K 1 resteasy-core Red Hat Integration Camel Quarkus 1 resteasy-coreaffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 resteasyaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform 7 resteasy Red Hat JBoss Enterprise Application Platform Expansion Pack resteasyaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Application Runtimes resteasyaffected: no fix planned “Out of support scope”
-
Red Hat Satellite 6 resteasy Red Hat Single Sign-On 7 resteasy Red Hat support for Spring Boot resteasyaffected: no fix planned “Will not fix”
-
Red Hat RHINT Camel-K 1.6.4fixed: vendor fix RHSA-2022:1029
-
Red Hat RHINT Service Registry 2.0.2 GAfixed: vendor fix RHSA-2021:4100
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jboss.resteasy:resteasy-bom | <=4.6.0.Final |
no fix listed |
| maven | org.jboss.resteasy:resteasy-core | <=4.6.0.Final |
no fix listed |
Affected products
- n/a RESTEasy
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1942819
web, issue-tracking, vendor-advisory
-
security.netapp.com
/advisory/ntap-20210727-0005/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-20293
advisory
-
security.netapp.com
/advisory/ntap-20210727-0005
web
Sources
- CVE List CVE-2021-20293
- GitHub Advisory GHSA-5h26-c766-g93v
- NVD CVE-2021-20293
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.