{"id":"CVE-2016-4003","aliases":["GHSA-m3x6-9v6h-4g28"],"kind":"cve","tier":"cold","status":"published","title":"Cross-site Scripting in Apache Struts","description":"Cross-site scripting (XSS) vulnerability in the URLDecoder function in JRE before 1.8, as used in Apache Struts 2.x before 2.3.28, when using a single byte page encoding, allows remote attackers to inject arbitrary web script or HTML via multi-byte characters in a url-encoded parameter.","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.11562,"percentile":0.96144,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","affected":">= 2.0.0, < 2.3.28","fixed":["2.3.28"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.apache.struts:struts2-core to 2.3.28 or later.","technologies":[],"references":[{"url":"http://struts.apache.org/docs/s2-028.html","kind":"vendor"},{"url":"https://issues.apache.org/jira/browse/WW-4507","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4003","kind":"vendor"},{"url":"https://github.com/apache/struts/commit/4720f46a63caaf9db97ba27dc51ac5ad21e66bdc","kind":"patch"},{"url":"https://github.com/apache/struts/commit/5421930b49822606792f36653b17d3d95ef106f9","kind":"patch"},{"url":"https://github.com/apache/struts/commit/72471d7075681bea52046645ad7aa34e9c53751e","kind":"patch"},{"url":"https://github.com/apache/struts/commit/76f188406eb9f17a06afcb5f49f0c44d749da0d2","kind":"patch"},{"url":"https://github.com/apache/struts/commit/a89bbe22cd2461748d595a89a254de888a415e6c","kind":"patch"},{"url":"http://www.securityfocus.com/bid/86311","kind":"other"},{"url":"http://www.securitytracker.com/id/1035268","kind":"other"},{"url":"https://github.com/apache/struts","kind":"other"},{"url":"https://web.archive.org/web/20161119142317/http://www.securityfocus.com/bid/86311","kind":"other"},{"url":"https://web.archive.org/web/20161221184936/http://www.securitytracker.com/id/1035268","kind":"other"}],"workarounds":null,"vendors":["apache"],"products":["struts"],"cpes":["cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*"],"published_at":"2016-04-12T16:00:00.000Z","modified_at":"2026-06-17T00:46:43.277Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4003"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-m3x6-9v6h-4g28","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-4003","markdown":"https://flawdb.com/CVE-2016-4003.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-4003"}}