NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
CRITICAL severity

CVE-2016-3087 — struts2-core

CRITICALFix: apache/struts@6bd694b

CVE-2016-3087 is a critical-severity (CVSS 9.8) Improper Input Validation vulnerability in org.apache.struts:struts2-core. 5 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.apache.struts:struts2-core — see the affected versions and patch details below.

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

Also known asGHSA-mmj6-cjj4-hpr5
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
5 known
Exploitation data as of Nov 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
81.9%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
78.6%82.0%85.5%89.0%87.0%81.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
☕org.apache.struts:struts2-core☕org.apache.struts:struts2-core☕org.apache.struts:struts2-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via vectors related to an ! (exclamation mark) operator to the REST Plugin.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.struts:struts2-core≥ 2.3.19&&< 2.3.20.32.3.20.3org.apache.struts:struts2-core:2.3.20.3
☕Mavenorg.apache.struts:struts2-core≥ 2.3.21&&< 2.3.24.32.3.24.3org.apache.struts:struts2-core:2.3.24.3
☕Mavenorg.apache.struts:struts2-core≥ 2.3.25&&< 2.3.28.12.3.28.1org.apache.struts:struts2-core:2.3.28.1

Affected Products

1 product · 5 configurations
Application
strutsapache
5 versions
2.3.202.3.20.12.3.242.3.24.12.3.28
Exploits & PoCs
5

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-43382remotemultiple

Apache Struts - REST Plugin With Dynamic Method Invocation Remote Code Execution

by nixawk · Jun 6, 2017

EDB-39919remotemultiple✓ Verified

Apache Struts - REST Plugin With Dynamic Method Invocation Remote Code Execution (Metasploit)

by Metasploit · Jun 10, 2016

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.struts:struts2-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.struts:struts2-core to 2.3.20.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-3087 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via vectors related to an ! (exclamation mark) operator to the REST Plugin.
O3 Security · Impact-Aware SCA

Is CVE-2016-3087 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2016-3087: struts2-core RCE — Fixed in 2.3.20.3