{"answers":{"affected":"8 open source packages ship an affected version, including org.jboss.resteasy:resteasy-bom and org.jboss.resteasy:resteasy-core. It affects 4 products.","exploited":"There is no known exploitation of CVE-2020-10688 in the wild and no public exploit code.","fix":"Upgrade org.jboss.resteasy:resteasy-bom to a fixed version for your release line: 3.11.1.Final or 4.5.3.Final.","what":"CVE-2020-10688 is a medium-severity cross-site scripting vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-10688 and fix it if it is affected.\n\nWhat it is: CVE-2020-10688 is a medium-severity cross-site scripting vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-10688 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.resteasy:resteasy-bom (Maven): affected all versions; fixed in 3.11.1.Final\n- org.jboss.resteasy:resteasy-bom (Maven): affected all versions; fixed in 3.11.1.Final\n- org.jboss.resteasy:resteasy-bom (Maven): affected from 4.0.0; fixed in 4.5.3.Final\n- org.jboss.resteasy:resteasy-bom (Maven): affected from 4.0.0; fixed in 4.5.3.Final\n- org.jboss.resteasy:resteasy-core (Maven): affected all versions; fixed in 3.11.1.Final\n- org.jboss.resteasy:resteasy-core (Maven): affected all versions; fixed in 3.11.1.Final\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.0.0; fixed in 4.5.3.Final\n- org.jboss.resteasy:resteasy-core (Maven): affected from 4.0.0; fixed in 4.5.3.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-10688/ (Markdown: https://insights.sbomify.com/CVE-2020-10688/index.md)","id":"CVE-2020-10688","markdown":"https://insights.sbomify.com/CVE-2020-10688/index.md","name":"CVE-2020-10688","record":{"aliases":["DEBIAN-CVE-2020-10688","GHSA-29qj-rvv6-qrmv","OESA-2021-1231","UBUNTU-CVE-2020-10688"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java REST framework","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in a victim's browser via reflected XSS in RESTEasy when handling specific URL encoding errors.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fuse","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"openshift_application_runtimes","vendor":"redhat"},{"product":"resteasy","vendor":"redhat"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A cross-site scripting (XSS) flaw was found in RESTEasy in versions before 3.11.1.Final and before 4.5.3.Final, where it did not properly handle URL encoding when the RESTEASY003870 exception occurs. An attacker could use this flaw to launch a reflected XSS attack.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site scripting in RESTEasy","id":"CVE-2020-10688","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"xss","year":"2020"},"n_packages":8,"n_references":4,"next":{"headline":"Missing Authorization in Eclipse Che","id":"CVE-2020-10689"},"packages":[{"ecosystem":"Maven","fixed":["3.11.1.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-bom","purl":null,"source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["3.11.1.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-bom","purl":"pkg:maven/org.jboss.resteasy/resteasy-bom","source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["4.5.3.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-bom","purl":null,"source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["4.5.3.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-bom","purl":"pkg:maven/org.jboss.resteasy/resteasy-bom","source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["3.11.1.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":null,"source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["3.11.1.Final"],"introduced":["0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":"pkg:maven/org.jboss.resteasy/resteasy-core","source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["4.5.3.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":null,"source":"GHSA-29qj-rvv6-qrmv"},{"ecosystem":"Maven","fixed":["4.5.3.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jboss.resteasy:resteasy-core","purl":"pkg:maven/org.jboss.resteasy/resteasy-core","source":"GHSA-29qj-rvv6-qrmv"}],"prev":{"headline":"HTTP Request Smuggling in Undertow","id":"CVE-2020-10687"},"products":["RESTEasy"],"published":"2021-05-27","related":[{"cvss_score":8.1,"headline":"In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization","id":"CVE-2026-41731","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"Undertow vulnerable to memory exhaustion due to buffer leak","id":"CVE-2021-3690","kev_date_added":null,"published":"2022-08-23"},{"cvss_score":7.4,"headline":"Misconfiguration in syndesis","id":"CVE-2019-14860","kev_date_added":null,"published":"2019-11-08"},{"cvss_score":6.4,"headline":"Fuse: privilege escalation via excessive /etc/passwd permissions","id":"CVE-2025-57849","kev_date_added":null,"published":"2026-03-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser via reflected XSS in RESTEasy when handling specific URL encoding errors.","url":"https://insights.sbomify.com/CVE-2020-10688/"}