# CVE-2021-20293: Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-06-10T11:09:47.000Z
- Modified: 2026-06-17T03:33:37.257Z
- Also known as: GHSA-5h26-c766-g93v
- Weaknesses: CWE-79
- Assigned by: 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.

(As written by CVE List.)

## Affected

- RESTEasy: All versions of RESTEasy up to 4.6.0.Final
- org.jboss.resteasy:resteasy-bom (Maven): up to 4.6.0.Final
- org.jboss.resteasy:resteasy-core (Maven): up to 4.6.0.Final
- redhat resteasy: up to 4.6.0
- netapp oncommand_insight: no versions given

## Every score

- GitHub: CVSS:3.1 6.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1942819> (issue-tracking, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210727-0005/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20293> (advisory)
- <https://security.netapp.com/advisory/ntap-20210727-0005> (web)

## Sources

- CVE List: [CVE-2021-20293](https://www.cve.org/CVERecord?id=CVE-2021-20293), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5h26-c766-g93v](https://github.com/advisories/GHSA-5h26-c766-g93v), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2021-20293](https://nvd.nist.gov/vuln/detail/CVE-2021-20293), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20293 · Whole record: https://cve.day/CVE-2021-20293.json · Rebuilt by cve.day 2026-11-25T22:58:01.768Z
