CVE-2021-20293
publishedRESTEasy: PathParam in RESTEasy can lead to a reflected XSS attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | RESTEasyAll versions of RESTEasy up to 4.6.0.Final | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | RESTEasy | All versions of RESTEasy up to 4.6.0.Final (affected) | redhat · cna |
Weaknesses
1- CWE-79
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 08956f217a69bf6d313c001c64532fed31cde6d98fad75b225e13938e4318a6f
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record