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.

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.5.33

  • 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

Fixed within 2.5.x, affecting earlier releases

  • 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
  • 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-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
  • 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-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

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.

VersionKnown advisories
org.apache.struts:struts2-core 2.5.33CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677
org.apache.struts:struts2-core 2.5.32CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164
org.apache.struts:struts2-core 2.5.31CVE-2025-68493, CVE-2025-66675, CVE-2025-64775, CVE-2024-53677, CVE-2023-50164, CVE-2023-41835
org.apache.struts:struts2-core 2.5.30CVE-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.29CVE-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.3CVE-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.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-2021-31805
org.apache.struts:struts2-core 2.5.28.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-2021-31805
org.apache.struts:struts2-core 2.5.28CVE-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.27CVE-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.26CVE-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.25CVE-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.22CVE-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.20CVE-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.18CVE-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.17CVE-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.16CVE-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.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-2012-1592, CVE-2021-31805, CVE-2020-17530, CVE-2019-0230, CVE-2018-11776
org.apache.struts:struts2-core 2.5.14CVE-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.13CVE-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.12CVE-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.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-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.10CVE-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.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-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.5CVE-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.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-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.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-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.0CVE-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

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.