HighGHSA-cr6j-3jp9-rw65CVE-2018-11776
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
Published 18 Oct 2018 · Updated 22 Oct 2025
Is your project on an affected org.apache.struts:struts2-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=2.0.4 <2.3.35
- Fixed in
- 2.3.35
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.3.35 -DforceVersion=true- Affected
- >=2.5 <2.5.17
- Fixed in
- 2.5.17
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.5.17 -DforceVersion=trueDetails
Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set, and it's upper actions have no or wildcard namespace.
Is GHSA-cr6j-3jp9-rw65 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.struts:struts2-core, and gives you the command that fixes it.
More advisories for org.apache.struts:struts2-core
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
- HighCVE-2025-66675Apache Struts has a Denial of Service vulnerability · 10 Dec 2025
- HighCVE-2025-64775Apache Struts is Vulnerable to DoS via File Leak · 1 Dec 2025
- CriticalCVE-2024-53677Apache Struts file upload logic is flawed · 11 Dec 2024
- CriticalCVE-2023-50164Apache Struts vulnerable to path traversal · 7 Dec 2023
- HighCVE-2023-41835Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability · 5 Dec 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-11776
- Linkgithub.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e
- Linkwww.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Linkwww.oracle.com/security-alerts/cpujul2020.html
- Linkwww.exploit-db.com/exploits/45367
- Linkwww.exploit-db.com/exploits/45262
- Linkwww.exploit-db.com/exploits/45260
- Linkwww.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776
- Linkweb.archive.org/web/20201208145803/https://securitytracker.com/id/1041547
- Linkweb.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888
- Linkweb.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125
- Linksecurity.netapp.com/advisory/ntap-20181018-0002
- Linksecurity.netapp.com/advisory/ntap-20180822-0001
- Linkpsirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
- Linklists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- Linklists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- Linklgtm.com/blog/apache_struts_CVE-2018-11776
- Linkgithub.com/hook-s3c/CVE-2018-11776-Python-PoC
- Packagegithub.com/apache/struts
- Linkcwiki.apache.org/confluence/display/WW/S2-057
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.