All vulnerabilities

Servers and applications

CVE-2021-31805

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
Critical 9.8
Published
12 Apr 2022
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Sources
NVD

Affected software

SoftwareAffected versions
Apache StrutsServers and applications · cpe:a:apache:struts
  • From 2.0.0 up to 2.5.29

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-31805
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-31805