Is org.apache.struts:struts2-core 2.5 vulnerable?
Maven · 28 releases from 2.5.0 to 2.5.33 · latest org.apache.struts:struts2-core is 7.4.0 · checked 18 Nov 2026
Yes: 4 known advisories
Yes. org.apache.struts:struts2-core 2.5.33, the last 2.5 release, is affected by 4 known security advisories (1 critical, 3 high), including CVE-2024-53677, CVE-2025-68493, CVE-2025-66675. 18 more affect earlier 2.5.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.5.33
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
Fixed within 2.5.x, affecting earlier releases
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
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
Apache Struts vulnerable to possible DoS attack when using URLValidator
- Affected
- >=2.3.20 <2.3.29 · >=2.5.0 <2.5.13
- Fixed in
- 2.3.29, 2.5.13
Apache Struts vulnerable to possible DoS attack when using URLValidator
- Affected
- >=2.5.0 <2.5.13
- Fixed in
- 2.5.13
Unrestricted Upload of File with Dangerous Type in Apache Struts2
- Affected
- >=2.0 <2.5.22
- Fixed in
- 2.5.22
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 vulnerable to remote arbitrary command execution due to improper input validation
- Affected
- >=2.3.0 <2.3.32 · >=2.5.0 <2.5.10.1
- Fixed in
- 2.3.32, 2.5.10.1
Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
- Affected
- >=2.3.7 <2.3.34 · >=2.5.0 <2.5.13
- Fixed in
- 2.3.34, 2.5.13
Spring AOP functionality (Struts) vulnerable to DoS attack
- Affected
- >=2.3.7 <2.3.33 · >=2.5.0 <2.5.12
- Fixed in
- 2.3.33, 2.5.12
Apache Struts Improper Input Validation vulnerability
- Affected
- >=2.5.0 <2.5.12
- Fixed in
- 2.5.12
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
Every org.apache.struts:struts2-core 2.5.x release
Affected: 2.5.0 to 2.5.33. Latest org.apache.struts:struts2-core: 7.4.0.
| Version | Known advisories |
|---|---|
| org.apache.struts:struts2-core 2.5.33 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677 |
| org.apache.struts:struts2-core 2.5.32 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164 |
| org.apache.struts:struts2-core 2.5.31 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835 |
| org.apache.struts:struts2-core 2.5.30 | CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835, CVE-2023-34396, CVE-2023-34149 |
| org.apache.struts:struts2-core 2.5.29 | 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-2021-31805 |
| org.apache.struts:struts2-core 2.5.28.3 | 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-2021-31805 |
| org.apache.struts:struts2-core 2.5.28.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-2021-31805 |
| org.apache.struts:struts2-core 2.5.28.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-2021-31805 |
| org.apache.struts:struts2-core 2.5.28 | 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-2021-31805 |
| org.apache.struts:struts2-core 2.5.27 | 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-2021-31805 |
| org.apache.struts:struts2-core 2.5.26 | 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-2021-31805 |
| org.apache.struts:struts2-core 2.5.25 | 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-2021-31805, CVE-2020-17530 |
| org.apache.struts:struts2-core 2.5.22 | 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-2021-31805, CVE-2020-17530 |
| org.apache.struts:struts2-core 2.5.20 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230 |
| org.apache.struts:struts2-core 2.5.18 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230 |
| org.apache.struts:struts2-core 2.5.17 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230 |
| org.apache.struts:struts2-core 2.5.16 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776 |
| org.apache.struts:struts2-core 2.5.14.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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776 |
| org.apache.struts:struts2-core 2.5.14 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776 |
| org.apache.struts:struts2-core 2.5.13 | 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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776 |
| org.apache.struts:struts2-core 2.5.12 | 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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-9804 |
| org.apache.struts:struts2-core 2.5.10.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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.10 | 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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.5 | 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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.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-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
| org.apache.struts:struts2-core 2.5.0 | 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-2016-4436, CVE-2016-4465, CVE-2016-8738, CVE-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776, CVE-2017-5638, CVE-2017-9804, CVE-2017-9787, CVE-2017-7672, CVE-2017-12611 |
Which of your client projects are still on org.apache.struts:struts2-core 2.5?
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 6.2
- org.apache.struts:struts2-core 6.1
- org.apache.struts:struts2-core 6.0
- org.apache.struts:struts2-core 2.3
- org.apache.struts:struts2-core 2.2
- org.apache.struts:struts2-core 2.1
- 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
- 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.