cve.bz

CVE-2021-31805

9.8 criticalEPSS 85%

Critical (9.8) in apache struts. EPSS 85% chance of exploitation in the next 30 days. Fixed in org.apache.struts:struts2-core 2.5.30.

The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
85% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWE
CWE-917
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v8j6-6c2r-r27cMavenorg.apache.struts:struts2-core>=2.0.0 <2.5.302.5.30

References

Check your stackJSON