Cross-site scripting in RESTEasy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 2 fixed, 13 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | RESTEasy | All versions of RESTEasy up to 4.6.0.Final | — | No fix listed | CNA |
| — | org.jboss.resteasy:resteasy-bom (Maven) | up to 4.6.0.Final | — | No fix listed | GHSA-5h26-c766-g93v |
| — | org.jboss.resteasy:resteasy-core (Maven) | up to 4.6.0.Final | — | No fix listed | GHSA-5h26-c766-g93v |
- RESTEasy Vendor— Affected All versions of RESTEasy up to 4.6.0.Final Fixed in — No fix listed CNA
- org.jboss.resteasy:resteasy-bom (Maven) Vendor— Affected up to 4.6.0.Final Fixed in — No fix listed GHSA-5h26-c766-g93v
- org.jboss.resteasy:resteasy-core (Maven) Vendor— Affected up to 4.6.0.Final Fixed in — No fix listed GHSA-5h26-c766-g93v
Remediation
Red Hat 2 advisories
- RHSA-2022:1029 Released 2022-03-23 · Red Hat rating ImportantRed Hat Integration Camel-K 1.6.4 release and security update
- RHINT Camel-K 1.6.4
- RHSA-2021:4100 Released 2021-11-02 · Red Hat rating ModerateRed Hat Integration - Service Registry release and security update [2.0.2.GA]
- RHINT Service Registry 2.0.2 GA
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Integration Camel K 1 | Affected | No fix planned: Will not fix |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Application Runtimes | Affected | No fix planned: Out of support scope |
| Red Hat Satellite 6 | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Will not fix |
| Red Hat build of Quarkus | Affected | No fix planned: Will not fix |
| Red Hat support for Spring Boot | Affected | No fix planned: Will not fix |
| RHINT Camel-K 1.6.4 | Fixed | RHSA-2022:1029 |
| RHINT Service Registry 2.0.2 GA | Fixed | RHSA-2021:4100 |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20293
- 2026-10-03 Alias added: GHSA-5h26-c766-g93v
References
Sources
- CVE-2021-20293 · CVE Program
- CVE-2021-20293 · NVD
- FIRST EPSS
- GHSA-5h26-c766-g93v · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20293 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences