CVE-2016-4003
MEDIUM 6.1CVSS 3.0Cross-site Scripting in Apache Struts
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.
- Published
- 12 Apr 2016
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-m3x6-9v6h-4g28
- Sources
- NVDJSONOSV GHSA-m3x6-9v6h-4g28JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* |
>= 2.0.0, <= 2.3.24.1 | |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.3.28 | 2.3.28 |
References
- http://struts.apache.org/docs/s2-028.html · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/86311 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1035268 · Third Party Advisory, VDB Entry
- https://issues.apache.org/jira/browse/WW-4507 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-4003 · ADVISORY
- https://github.com/apache/struts/commit/4720f46a63caaf9db97ba27dc51ac5ad21e66bdc · WEB
- https://github.com/apache/struts/commit/5421930b49822606792f36653b17d3d95ef106f9 · WEB
- https://github.com/apache/struts/commit/72471d7075681bea52046645ad7aa34e9c53751e · WEB
- https://github.com/apache/struts/commit/76f188406eb9f17a06afcb5f49f0c44d749da0d2 · WEB
- https://github.com/apache/struts/commit/a89bbe22cd2461748d595a89a254de888a415e6c · WEB
- https://github.com/apache/struts · PACKAGE
- https://web.archive.org/web/20161119142317/http://www.securityfocus.com/bid/86311 · WEB
- https://web.archive.org/web/20161221184936/http://www.securitytracker.com/id/1035268 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 12 Apr 2016)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)