org.apache.struts:struts2-core vulnerabilities

Registry
Maven
Latest
7.4.0

60 known advisories

The latest version, 7.4.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=7.4.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

Security advisories for org.apache.struts:struts2-core

  • 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
  • MediumCVE-2008-6682GHSA-jgcr-9c2q-rvp817 May 2022

    Apache Struts is vulnerable to Cross-site Scripting

    Affected
    >=2.0.0 <2.0.11.1 · >=2.1.0 <2.1.1
    Fixed in
    2.0.11.1, 2.1.1
  • 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
  • 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-2016-4465GHSA-xg75-68x3-7p3q17 May 2022

    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
  • 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-2016-8738GHSA-86vq-8qhc-5rqw14 May 2022

    Apache Struts vulnerable to possible DoS attack when using URLValidator

    Affected
    >=2.5.0 <2.5.13
    Fixed in
    2.5.13
  • 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
  • CriticalCVE-2016-3087GHSA-mmj6-cjj4-hpr514 May 2022

    Apache Struts vulnerable to arbitrary remote code execution due to improper input validation

    Affected
    >=2.3.19 <2.3.20.3 · >=2.3.21 <2.3.24.3 · >=2.3.25 <2.3.28.1
    Fixed in
    2.3.20.3, 2.3.24.3, 2.3.28.1
  • HighCVE-2016-3081GHSA-8c6j-ffmf-q6vm14 May 2022

    Apache Struts RCE Vulnerability

    Affected
    >=2.3.19 <2.3.20.3 · >=2.3.21 <2.3.24.3 · >=2.3.25 <2.3.28.1
    Fixed in
    2.3.20.3, 2.3.24.3, 2.3.28.1
  • HighCVE-2014-0116GHSA-hmhq-382q-mp5614 May 2022

    ClassLoader manipulation in Apache Struts

    Affected
    <2.3.20
    Fixed in
    2.3.20
  • CriticalCVE-2016-4438GHSA-4prj-vw9j-v6pr14 May 2022

    Arbitrary code execution in Apache Struts 2

    Affected
    >=2.3.19 <2.3.29
    Fixed in
    2.3.29
  • 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-5638GHSA-j77q-2qqg-698918 Oct 2018

    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
  • HighCVE-2017-9804GHSA-x5x7-3v85-wpc416 Oct 2018

    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
  • HighCVE-2017-9787GHSA-8mr5-h28g-36qx16 Oct 2018

    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
  • MediumCVE-2017-7672GHSA-9gp7-jvm2-r4mx16 Oct 2018

    Apache Struts Improper Input Validation vulnerability

    Affected
    >=2.5.0 <2.5.12
    Fixed in
    2.5.12
  • 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

Is your org.apache.struts:struts2-core version vulnerable?

Which of your client projects still run an old org.apache.struts:struts2-core?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.