Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20293
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-20293
Complete source record
{
"id": "ccb385e139840aaa4e9166b891159a88818ab14e18b12b1fc75331031da174a1",
"url": "https://osv.dev/vulnerability/CVE-2021-20293",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-20293",
"summary": "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.",
"evidence": "osv:CVE-2021-20293",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-20293",
"aliases": [
"CVE-2021-20293",
"GHSA-5h26-c766-g93v"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/resteasy/resteasy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "21ace631dfc75b169b7d762ab6ce65c67e5a0b43"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:resteasy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.6.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.6.0.Final",
"4.4.2.Final",
"4.4.1.Final",
"4.4.0.Final",
"4.4.0.CR1",
"4.3.0.Final",
"4.2.0.Final",
"4.1.0.Final",
"4.0.0.CR2",
"4.0.0.CR1",
"4.0.0.Beta7",
"4.0.0.Beta6",
"4.0.0.Beta5",
"4.0.0.Beta4",
"4.0.0.Beta3",
"4.0.0.Beta2",
"4.0.0.Beta1",
"3.1.4.Final",
"3.1.3.Final",
"3.1.2.Final",
"3.1.1.Final",
"3.1.0.Beta1",
"3.1.0.Final",
"3.1.0.CR3",
"3.1.0.CR2",
"3.1.0.CR1",
"3.1.0.Beta2",
"3.0.16.Final",
"3.0.15.Final",
"3.0.14.Final",
"3.0.13.Final",
"3.0.10.Final",
"3.0.9.Final",
"3.0.8.Final",
"3.0.7.Final",
"3.0.6.Final",
"3.0.5.Final",
"3.0.4",
"3.0.2",
"3.0.1.Final",
"3.0.0.Final",
"3.0-rc-1",
"3.0-beta-6",
"3.0-beta-5",
"3.0-beta-4",
"3.0-beta-3",
"3.0-beta-2",
"3.0-beta-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20293.json"
}
}
],
"modified": "2026-10-24T10:30:51.373812729Z",
"provider": "osv",
"references": [
"https://security.netapp.com/advisory/ntap-20210727-0005/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1942819"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-20293",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437463,
"published_at": "2021-06-10T12:15:07.947+00:00"
}