MEDIUM6.1
GHSA-m3x6-9v6h-4g28
Cross-site Scripting in Apache Struts
Quick fix
GHSA-m3x6-9v6h-4g28 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.3.28</version> for org.apache.struts:struts2-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
2.0.0Fixed in: 2.3.28Fix
# pom.xml: bump <version>2.3.28</version> for org.apache.struts:struts2-coreReferences
- 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://issues.apache.org/jira/browse/WW-4507[WEB]
- 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]
- http://struts.apache.org/docs/s2-028.html[WEB]