Advisories
Act nowExploited · Confirmed

org.apache.struts:struts2-core: Apache Struts Command Injection Vulnerability

There is evidence it is being used against people now, on something Phylax follows.

Does it affect what I run?

org.apache.struts:struts2-core (Maven)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • org.apache.struts:struts2-core (Maven): from 2.3.19, before 2.3.20.3
  • org.apache.struts:struts2-core (Maven): from 2.3.21, before 2.3.24.3
  • org.apache.struts:struts2-core (Maven): from 2.3.25, before 2.3.28.1

The fix

  • org.apache.struts:struts2-core (Maven) fixed in 2.3.20.3

    maven
    mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.3.20.3 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.apache.struts:struts2-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.apache.struts:struts2-core to 2.3.20.3 or the nearest later release, to fix CVE-2016-3081. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.apache.struts:struts2-core (Maven) fixed in 2.3.24.3

    maven
    mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.3.24.3 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.apache.struts:struts2-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.apache.struts:struts2-core to 2.3.24.3 or the nearest later release, to fix CVE-2016-3081. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.apache.struts:struts2-core (Maven) fixed in 2.3.28.1

    maven
    mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.3.28.1 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.apache.struts:struts2-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.apache.struts:struts2-core to 2.3.28.1 or the nearest later release, to fix CVE-2016-3081. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "Listed".
  2. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  3. Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)
  4. Level changed from "Listed" to "Act now".
  5. Fixed releases changed: added org.apache.struts:struts2-core 2.3.20.3, org.apache.struts:struts2-core 2.3.24.3, org.apache.struts:struts2-core 2.3.28.1.