All reports
Critical

Expression Language Injection in Apache Struts

Affected versions

Affected versions
>= 2.0.0, < 2.5.30
Fixed version
2.5.30

Exploitation

CVE-2021-31805

Probability of exploitation in the next 30 days: 85.43%

FIRST EPSS · 2026-11-23

Description

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.

Links