PT-2021-13879 · Resteasy · Resteasy

Jeremy Bonghwan Choi

+1

·

Published

2021-06-10

·

Updated

2021-09-20

·

CVE-2021-20293

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: RESTEasy versions up to 4.6.0.Final
Description: A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy, 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, posing a threat to data confidentiality and integrity.
Recommendations: For versions up to 4.6.0.Final, update to a version later than 4.6.0.Final to resolve the issue. As a temporary workaround, consider restricting the use of @javax.ws.rs.PathParam without any @Produces MediaType to minimize the risk of exploitation.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-20293
GHSA-5H26-C766-G93V

Affected Products

Resteasy