Live threats

All CVEs / Apache

CVE-2016-0785Apache Struts

High 8.8

Priority
54
CVSS 3.0
8.8
EPSS
9.1%
probability of exploitation in 30 days · percentile 96
Auth required
Yes
Published
Apr 12, 2016
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-core ≥ 2.0.0 < 2.3.20.3 2.3.20.3 —
Maven org.apache.struts:struts2-core ≥ 2.3.24 < 2.3.24.3 2.3.24.3 —

Per OSV / GitHub Advisories (GHSA-876p-4wgc-75rx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.0.0 < 2.3.20.3
apachestruts≥ 2.3.21 ≤ 2.3.24.1

Official sources

References

Links published by the sources. Open them with care.