CVE-2021-20293

RESTEasy: PathParam in RESTEasy can lead to a reflected XSS attack

Published Jun 10, 2021 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1269 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.
Github GHSA Github GHSA GHSA-5h26-c766-g93v Cross-Site Scripting
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00171}

epss

{'score': 0.002}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:37 PM
Reserved
Dec 17, 2020, 12:00 AM
Status
Modified
Published
Jun 10, 2021, 12:15 PM
Modified
Jun 17, 2026, 3:33 AM
Severity
Moderate
Public date
Mar 25, 2021, 12:00 AM