CVE-2021-20293
mediumpriority · track · 24EPSS 0.009 · 58 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1366Red Hat Integration - Service Registry: Mehrere SchwachstellenDeutsch2021-11-02csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Integration - Service Registry ausnutzen, um Informationen offenzulegen und einen Cross Site Scripting Angriff durchzuführen.
- GHSA-5h26-c766-g93vCross-Site Scripting2021-06-15ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1942819cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21372cnnvd
- https://packetstormsecurity.com/files/164751/Red-Hat-Security-Advisory-2021-4100-01.htmlcnnvd
- https://packetstormsecurity.com/files/166418/Red-Hat-Security-Advisory-2022-1029-01.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210727-0005/cnnvd
- https://vigilance.fr/vulnerability/RESTEasy-Cross-Site-Scripting-via-PathParam-35684cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3653cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.1258cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan