Is org.apache.struts:struts2-core 2.1 vulnerable?
Maven · 4 releases from 2.1.2 to 2.1.8.1 · latest org.apache.struts:struts2-core is 7.4.0 · checked 18 Nov 2026
Yes: 49 known advisories
Yes. org.apache.struts:struts2-core 2.1.8.1, the last 2.1 release, is affected by 49 known security advisories (11 critical, 22 high, 15 medium, 1 low), including CVE-2024-53677, CVE-2023-50164, CVE-2016-3082. 1 more affects earlier 2.1.x releases. Upgrade to 6.8.0 or later to fix all of them.
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=6.8.0 -DforceVersion=trueIs 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
Advisories affecting org.apache.struts:struts2-core 2.1.8.1
Apache Struts 2 is Missing XML Validation
- Affected
- >=2.0.0 <=2.3.37 · >=2.5.0 <=2.5.33 · >=6.0.0 <6.1.1
- Fixed in
- 6.1.1
Apache Struts has a Denial of Service vulnerability
- Affected
- >=2.0.0 <6.8.0 · >=7.0.0 <7.1.1
- Fixed in
- 6.8.0, 7.1.1
Apache Struts is Vulnerable to DoS via File Leak
- Affected
- >=6.0.0 <6.8.0 · >=7.0.0 <7.1.1 · >=2.0.0 <=2.3.37 · >=2.5.0 <=2.5.33
- Fixed in
- 6.8.0, 7.1.1
Apache Struts file upload logic is flawed
- Affected
- <6.4.0
- Fixed in
- 6.4.0
Apache Struts vulnerable to path traversal
- Affected
- >=2.0.0 <2.5.33 · >=6.0.0 <6.3.0.2
- Fixed in
- 2.5.33, 6.3.0.2
Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability
- Affected
- >=6.2.0 <6.3.0.1 · >=6.0.0 <6.1.2.2 · <2.5.32
- Fixed in
- 2.5.32, 6.1.2.2, 6.3.0.1
Apache Struts vulnerable to memory exhaustion
- Affected
- <2.5.31 · >=6.0.0 <6.1.2.1
- Fixed in
- 2.5.31, 6.1.2.1
Apache Struts vulnerable to memory exhaustion
- Affected
- <2.5.31 · >=6.0.0 <6.1.2.1
- Fixed in
- 2.5.31, 6.1.2.1
Improper Preservation of Permissions in Apache Struts
- Affected
- >=2.0.0 <2.5.22
- Fixed in
- 2.5.22
Cross-site Scripting in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
Cross-site Scripting in Apache Struts
- Affected
- <2.2.3
- Fixed in
- 2.2.3
Apache Struts is vulnerable to Cross-site Scripting
- Affected
- <2.3.16
- Fixed in
- 2.3.16
Apache Struts2 Broken Access Control Vulnerability
- Affected
- <2.3.15.3
- Fixed in
- 2.3.15.3
Apache Struts XSS Vulnerability
- Affected
- >=2.0.0 <2.3.28
- Fixed in
- 2.3.28
Remote Code Execution in Apache Struts
- Affected
- <2.3.20.3 · >=2.3.24 <2.3.24.3 · >=2.3.28 <2.3.28.1
- Fixed in
- 2.3.20.3, 2.3.24.3, 2.3.28.1
Denial of service in Apache Struts
- Affected
- >=2.0.0 <2.3.24.3
- Fixed in
- 2.3.24.3
Code injection in Apache Struts
- Affected
- >=2.0.0 <2.3.15.2
- Fixed in
- 2.3.15.2
Open redirect in Apache Struts
- Affected
- <2.3.15.1
- Fixed in
- 2.3.15.1
Apache Struts improper action name cleanup
- Affected
- >=2.0.0 <2.3.29 · >=2.5-BETA1 <2.5.1
- Fixed in
- 2.3.29, 2.5.1
Cross-Site Request Forgery in Apache Struts
- Affected
- >=2.0.0 <2.3.4.1
- Fixed in
- 2.3.4.1
Incomplete exclude pattern in Apache Struts
- Affected
- >=2.0.0 <2.3.20.1
- Fixed in
- 2.3.20.1
Special top object can be used to access Struts' internals
- Affected
- <2.3.24.1
- Fixed in
- 2.3.24.1
Cross-Site Request Forgery in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
Arbitrary code execution in Apache Struts 2
- Affected
- >=2.0.0 <2.3.14.3
- Fixed in
- 2.3.14.3
Cross-site Scripting in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
Arbitrary code execution in Apache Struts 2
- Affected
- >=2.0.0 <2.3.14.3
- Fixed in
- 2.3.14.3
Cross-site Scripting in Apache Struts
- Affected
- >=2.0.0 <2.3.28
- Fixed in
- 2.3.28
Apache Struts Code injection due to conversion error
- Affected
- <2.2.3.1
- Fixed in
- 2.2.3.1
Apache Struts forced double OGNL evaluation
- Affected
- >=2.0.0 <2.3.29
- Fixed in
- 2.3.29
ClassLoader manipulation in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
ClassLoader manipulation in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
Arbitrary code execution in Apache Struts
- Affected
- >=2.0.0 <2.3.14.2
- Fixed in
- 2.3.14.2
Improper Control of Generation of Code in Apache Struts
- Affected
- <2.3.14.3
- Fixed in
- 2.3.14.3
ClassLoader manipulation in Apache Struts
- Affected
- >=2.0.0 <2.3.16.2
- Fixed in
- 2.3.16.2
ClassLoader manipulation in Apache Struts
- Affected
- <2.3.20
- Fixed in
- 2.3.20
Apache Struts RCE Vulnerability
- Affected
- >=2.0.0 <2.3.20.3 · >=2.3.24 <2.3.24.3
- Fixed in
- 2.3.20.3, 2.3.24.3
Code injection in Apache Struts
- Affected
- >=2.0.0 <2.3.14.2
- Fixed in
- 2.3.14.2
Code injection in Apache Struts
- Affected
- <2.3.15.1
- Fixed in
- 2.3.15.1
Server side object manipulation in Apache Struts
- Affected
- <2.2.1
- Fixed in
- 2.2.1
Apache Struts Remote Java Code Execution
- Affected
- <2.2.3.1
- Fixed in
- 2.2.3.1
Apache Struts's CookieInterceptor component does not use the parameter-name whitelist
- Affected
- <2.2.3.1
- Fixed in
- 2.2.3.1
Apache Struts's ParameterInterceptor component does not prevent access to public constructors
- Affected
- <2.3.1.1
- Fixed in
- 2.3.1.1
Unrestricted Upload of File with Dangerous Type in Apache Struts2
- Affected
- >=2.0 <2.5.22
- Fixed in
- 2.5.22
Struts ParameterInterceptor vulnerability allows remote command execution
- Affected
- >=2.0.0 <2.3.1.2
- Fixed in
- 2.3.1.2
Expression Language Injection in Apache Struts
- Affected
- >=2.0.0 <2.5.30
- Fixed in
- 2.5.30
Remote code execution in Apache Struts
- Affected
- >=2.0.0 <2.5.26
- Fixed in
- 2.5.26
Improperly Controlled Modification of Dynamically-Determined Object Attributes in Apache Struts
- Affected
- >=2.0.0 <2.5.22
- Fixed in
- 2.5.22
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
- Affected
- >=2.0.4 <2.3.35 · >=2.5 <2.5.17
- Fixed in
- 2.3.35, 2.5.17
Apache Struts 2.0.1 uses an unintentional expression in a Freemarker tag instead of string literal
- Affected
- >=2.0.1 <2.3.34 · >=2.5.0 <2.5.11
- Fixed in
- 2.3.34, 2.5.11
Fixed within 2.1.x, affecting earlier releases
Apache Struts directory traversal vulnerability
- Affected
- >=2.0.0 <2.0.12 · >=2.1.0 <2.1.3
- Fixed in
- 2.0.12, 2.1.3
Every org.apache.struts:struts2-core 2.1.x release
Affected: 2.1.2 to 2.1.8.1. Latest org.apache.struts:struts2-core: 7.4.0.
| Version | Known advisories |
|---|---|
| org.apache.struts:struts2-core 2.1.8.1 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835, CVE-2023-34396, CVE-2023-34149, CVE-2019-0233, CVE-2015-2992, CVE-2011-1772, CVE-2013-6348, CVE-2013-4310, CVE-2016-2162, CVE-2016-3082, CVE-2016-3093, CVE-2013-4316, CVE-2013-2248, CVE-2016-4436, CVE-2012-4386, CVE-2015-1831, CVE-2015-5209, CVE-2014-7809, CVE-2013-2134, CVE-2015-5169, CVE-2013-2135, CVE-2016-4003, CVE-2012-0838, CVE-2016-4461, CVE-2014-0112, CVE-2014-0113, CVE-2013-1966, CVE-2013-1965, CVE-2014-0094, CVE-2014-0116, CVE-2016-0785, CVE-2013-2115, CVE-2013-2251, CVE-2010-1870, CVE-2012-0391, CVE-2012-0392, CVE-2012-0393, CVE-2012-1592, CVE-2011-3923, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.1.8 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835, CVE-2023-34396, CVE-2023-34149, CVE-2019-0233, CVE-2015-2992, CVE-2011-1772, CVE-2013-6348, CVE-2013-4310, CVE-2016-2162, CVE-2016-3082, CVE-2016-3093, CVE-2013-4316, CVE-2013-2248, CVE-2016-4436, CVE-2012-4386, CVE-2015-1831, CVE-2015-5209, CVE-2014-7809, CVE-2013-2134, CVE-2015-5169, CVE-2013-2135, CVE-2016-4003, CVE-2012-0838, CVE-2016-4461, CVE-2014-0112, CVE-2014-0113, CVE-2013-1966, CVE-2013-1965, CVE-2014-0094, CVE-2014-0116, CVE-2016-0785, CVE-2013-2115, CVE-2013-2251, CVE-2010-1870, CVE-2012-0391, CVE-2012-0392, CVE-2012-0393, CVE-2012-1592, CVE-2011-3923, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.1.6 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835, CVE-2023-34396, CVE-2023-34149, CVE-2019-0233, CVE-2015-2992, CVE-2011-1772, CVE-2013-6348, CVE-2013-4310, CVE-2016-2162, CVE-2016-3082, CVE-2016-3093, CVE-2013-4316, CVE-2013-2248, CVE-2016-4436, CVE-2012-4386, CVE-2015-1831, CVE-2015-5209, CVE-2014-7809, CVE-2013-2134, CVE-2015-5169, CVE-2013-2135, CVE-2016-4003, CVE-2012-0838, CVE-2016-4461, CVE-2014-0112, CVE-2014-0113, CVE-2013-1966, CVE-2013-1965, CVE-2014-0094, CVE-2014-0116, CVE-2016-0785, CVE-2013-2115, CVE-2013-2251, CVE-2010-1870, CVE-2012-0391, CVE-2012-0392, CVE-2012-0393, CVE-2012-1592, CVE-2011-3923, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.1.2 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835, CVE-2023-34396, CVE-2023-34149, CVE-2019-0233, CVE-2015-2992, CVE-2008-6505, CVE-2011-1772, CVE-2013-6348, CVE-2013-4310, CVE-2016-2162, CVE-2016-3082, CVE-2016-3093, CVE-2013-4316, CVE-2013-2248, CVE-2016-4436, CVE-2012-4386, CVE-2015-1831, CVE-2015-5209, CVE-2014-7809, CVE-2013-2134, CVE-2015-5169, CVE-2013-2135, CVE-2016-4003, CVE-2012-0838, CVE-2016-4461, CVE-2014-0112, CVE-2014-0113, CVE-2013-1966, CVE-2013-1965, CVE-2014-0094, CVE-2014-0116, CVE-2016-0785, CVE-2013-2115, CVE-2013-2251, CVE-2010-1870, CVE-2012-0391, CVE-2012-0392, CVE-2012-0393, CVE-2012-1592, CVE-2011-3923, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-12611 |
Which of your client projects are still on org.apache.struts:struts2-core 2.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.apache.struts:struts2-core version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other org.apache.struts:struts2-core versions
- org.apache.struts:struts2-core 2.5
- org.apache.struts:struts2-core 2.3
- org.apache.struts:struts2-core 2.2
- org.apache.struts:struts2-core 2.0
- org.apache.struts:struts2-core 7.4
- org.apache.struts:struts2-core 7.3
- org.apache.struts:struts2-core 7.2
- org.apache.struts:struts2-core 7.1
- org.apache.struts:struts2-core 7.0
- org.apache.struts:struts2-core 6.12
- org.apache.struts:struts2-core 6.11
- org.apache.struts:struts2-core 6.10
- All org.apache.struts:struts2-core advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.