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.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=6.8.0 -DforceVersion=true

Is your project on an affected org.apache.struts:struts2-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

  • HighCVE-2025-68493GHSA-qcfc-hmrc-59x711 Jan 2026

    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
  • HighCVE-2025-66675GHSA-rg58-xhh7-mqjw10 Dec 2025

    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
  • HighCVE-2025-64775GHSA-xx7v-hqxh-cjr91 Dec 2025

    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
  • CriticalCVE-2024-53677GHSA-43mq-6xmg-29vm11 Dec 2024

    Apache Struts file upload logic is flawed

    Affected
    <6.4.0
    Fixed in
    6.4.0
  • CriticalCVE-2023-50164GHSA-2j39-qcjm-428w7 Dec 2023

    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
  • HighCVE-2023-41835GHSA-729q-fcgp-r5xh5 Dec 2023

    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
  • HighCVE-2023-34396GHSA-4g42-gqrg-463314 Jun 2023

    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
  • MediumCVE-2023-34149GHSA-8f6x-v685-g2xc14 Jun 2023

    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
  • HighCVE-2019-0233GHSA-ccp5-gg58-pxfm24 May 2022

    Improper Preservation of Permissions in Apache Struts

    Affected
    >=2.0.0 <2.5.22
    Fixed in
    2.5.22
  • MediumCVE-2015-2992GHSA-265r-pp83-gww724 May 2022

    Cross-site Scripting in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • LowCVE-2011-1772GHSA-56f8-g68r-j69917 May 2022

    Cross-site Scripting in Apache Struts

    Affected
    <2.2.3
    Fixed in
    2.2.3
  • MediumCVE-2013-6348GHSA-3g8j-jj54-3vjg17 May 2022

    Apache Struts is vulnerable to Cross-site Scripting

    Affected
    <2.3.16
    Fixed in
    2.3.16
  • MediumCVE-2013-4310GHSA-q5q8-jghf-3pm317 May 2022

    Apache Struts2 Broken Access Control Vulnerability

    Affected
    <2.3.15.3
    Fixed in
    2.3.15.3
  • MediumCVE-2016-2162GHSA-2j4q-9fff-236j17 May 2022

    Apache Struts XSS Vulnerability

    Affected
    >=2.0.0 <2.3.28
    Fixed in
    2.3.28
  • CriticalCVE-2016-3082GHSA-pvm9-288c-v5wq17 May 2022

    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
  • MediumCVE-2016-3093GHSA-383p-xqxx-rrmp17 May 2022

    Denial of service in Apache Struts

    Affected
    >=2.0.0 <2.3.24.3
    Fixed in
    2.3.24.3
  • HighCVE-2013-4316GHSA-j7h6-xr7g-m2c517 May 2022

    Code injection in Apache Struts

    Affected
    >=2.0.0 <2.3.15.2
    Fixed in
    2.3.15.2
  • MediumCVE-2013-2248GHSA-rpj9-r897-wc6q17 May 2022

    Open redirect in Apache Struts

    Affected
    <2.3.15.1
    Fixed in
    2.3.15.1
  • CriticalCVE-2016-4436GHSA-xm92-v2mq-842q17 May 2022

    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
  • MediumCVE-2012-4386GHSA-2rvh-q539-q33v17 May 2022

    Cross-Site Request Forgery in Apache Struts

    Affected
    >=2.0.0 <2.3.4.1
    Fixed in
    2.3.4.1
  • HighCVE-2015-1831GHSA-q2cg-xf9p-h45717 May 2022

    Incomplete exclude pattern in Apache Struts

    Affected
    >=2.0.0 <2.3.20.1
    Fixed in
    2.3.20.1
  • HighCVE-2015-5209GHSA-4qgj-9mvg-392914 May 2022

    Special top object can be used to access Struts' internals

    Affected
    <2.3.24.1
    Fixed in
    2.3.24.1
  • MediumCVE-2014-7809GHSA-h4v9-jf2r-9h6m14 May 2022

    Cross-Site Request Forgery in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • HighCVE-2013-2134GHSA-gqqm-564f-vvxq14 May 2022

    Arbitrary code execution in Apache Struts 2

    Affected
    >=2.0.0 <2.3.14.3
    Fixed in
    2.3.14.3
  • MediumCVE-2015-5169GHSA-vwhv-j36g-5rm814 May 2022

    Cross-site Scripting in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • HighCVE-2013-2135GHSA-pw8r-x2qm-3h5m14 May 2022

    Arbitrary code execution in Apache Struts 2

    Affected
    >=2.0.0 <2.3.14.3
    Fixed in
    2.3.14.3
  • MediumCVE-2016-4003GHSA-m3x6-9v6h-4g2814 May 2022

    Cross-site Scripting in Apache Struts

    Affected
    >=2.0.0 <2.3.28
    Fixed in
    2.3.28
  • HighCVE-2012-0838GHSA-mwrx-hx6x-3hhv14 May 2022

    Apache Struts Code injection due to conversion error

    Affected
    <2.2.3.1
    Fixed in
    2.2.3.1
  • HighCVE-2016-4461GHSA-864w-r5qj-h6fj14 May 2022

    Apache Struts forced double OGNL evaluation

    Affected
    >=2.0.0 <2.3.29
    Fixed in
    2.3.29
  • HighCVE-2014-0112GHSA-prjv-jj26-wf8h14 May 2022

    ClassLoader manipulation in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • HighCVE-2014-0113GHSA-3c5c-xrq4-qhr814 May 2022

    ClassLoader manipulation in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • HighCVE-2013-1966GHSA-737w-mh58-cxjp14 May 2022

    Arbitrary code execution in Apache Struts

    Affected
    >=2.0.0 <2.3.14.2
    Fixed in
    2.3.14.2
  • HighCVE-2013-1965GHSA-whmq-v94q-34p914 May 2022

    Improper Control of Generation of Code in Apache Struts

    Affected
    <2.3.14.3
    Fixed in
    2.3.14.3
  • MediumCVE-2014-0094GHSA-vrwc-qjmw-5rjm14 May 2022

    ClassLoader manipulation in Apache Struts

    Affected
    >=2.0.0 <2.3.16.2
    Fixed in
    2.3.16.2
  • HighCVE-2014-0116GHSA-hmhq-382q-mp5614 May 2022

    ClassLoader manipulation in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • HighCVE-2016-0785GHSA-876p-4wgc-75rx14 May 2022

    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
  • HighCVE-2013-2115GHSA-7ghm-rpc7-p7g513 May 2022

    Code injection in Apache Struts

    Affected
    >=2.0.0 <2.3.14.2
    Fixed in
    2.3.14.2
  • CriticalCVE-2013-2251GHSA-47qp-8v9g-39hp13 May 2022

    Code injection in Apache Struts

    Affected
    <2.3.15.1
    Fixed in
    2.3.15.1
  • MediumCVE-2010-1870GHSA-x5fc-pgpx-59j513 May 2022

    Server side object manipulation in Apache Struts

    Affected
    <2.2.1
    Fixed in
    2.2.1
  • CriticalCVE-2012-0391GHSA-4wrr-9h5r-m92w4 May 2022

    Apache Struts Remote Java Code Execution

    Affected
    <2.2.3.1
    Fixed in
    2.2.3.1
  • MediumCVE-2012-0392GHSA-2ppp-xj34-vvf74 May 2022

    Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

    Affected
    <2.2.3.1
    Fixed in
    2.2.3.1
  • MediumCVE-2012-0393GHSA-hxqq-w4mr-mc624 May 2022

    Apache Struts's ParameterInterceptor component does not prevent access to public constructors

    Affected
    <2.3.1.1
    Fixed in
    2.3.1.1
  • HighCVE-2012-1592GHSA-8m5q-crqq-6pmf23 Apr 2022

    Unrestricted Upload of File with Dangerous Type in Apache Struts2

    Affected
    >=2.0 <2.5.22
    Fixed in
    2.5.22
  • CriticalCVE-2011-3923GHSA-j68f-8h6p-9h5q22 Apr 2022

    Struts ParameterInterceptor vulnerability allows remote command execution

    Affected
    >=2.0.0 <2.3.1.2
    Fixed in
    2.3.1.2
  • CriticalCVE-2021-31805GHSA-v8j6-6c2r-r27c13 Apr 2022

    Expression Language Injection in Apache Struts

    Affected
    >=2.0.0 <2.5.30
    Fixed in
    2.5.30
  • CriticalCVE-2020-17530GHSA-jc35-q369-45pv9 Feb 2022

    Remote code execution in Apache Struts

    Affected
    >=2.0.0 <2.5.26
    Fixed in
    2.5.26
  • CriticalCVE-2019-0230GHSA-wp4h-pvgw-57272 Dec 2021

    Improperly Controlled Modification of Dynamically-Determined Object Attributes in Apache Struts

    Affected
    >=2.0.0 <2.5.22
    Fixed in
    2.5.22
  • HighCVE-2018-11776GHSA-cr6j-3jp9-rw6518 Oct 2018

    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
  • CriticalCVE-2017-12611GHSA-8fx9-5hx8-crhm16 Oct 2018

    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

  • MediumCVE-2008-6505GHSA-wv7g-xhvw-8hcp17 May 2022

    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.

VersionKnown advisories
org.apache.struts:struts2-core 2.1.8.1CVE-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.8CVE-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.6CVE-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.2CVE-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

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.