CVE-2016-0785 json
Apache Struts RCE Vulnerability
published 2016-04-12 10 y ago modified 2026-06-17 4 mo ago also GHSA-876p-4wgc-75rx , EUVD-2022-3133
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.9%
- EPSS 8.9% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
Apache Struts 2.x before 2.3.28 allows remote attackers to execute arbitrary code via a "%{}" sequence in a tag attribute, aka forced double OGNL evaluation.
Patch / fix
- maven org.apache.struts:struts2-core 2.3.20.3, 2.3.24.3
- apache struts 2.3.20.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-0785 updated cvss 6.8
struts2: forced double OGNL evaluation on raw input in tag attributes
-
Red Hat JBoss Fuse Service Works 6 struts2-core struts2-corenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.88% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.struts:struts2-core | >=2.0.0, <2.3.20.3 >=2.3.24, <2.3.24.3 |
2.3.20.3 2.3.24.3 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/apache/struts/commit/15857a69e7baf3675804495a5954cd0756ac8364
web
-
struts.apache.org
/docs/s2-029.html
web, vendor-advisory
-
securitytracker.com
/id/1035271
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/85066
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-0785
advisory
-
github.com
/apache/struts
package
-
web.archive.org
/web/20210123095715/http://www.securityfocus.com/bid/85066
web
-
web.archive.org
/web/20220118185853/http://www.securitytracker.com/id/1035271
web
Sources
- CVE List CVE-2016-0785
- GitHub Advisory GHSA-876p-4wgc-75rx
- NVD CVE-2016-0785
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.