VULNERABILITY INTELLIGENCE

CVE-2021-31805

CVSS score9.8 CRITICAL
EPSS probability85.43%
CISA KEVNot currently listed
Published2022-04-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • security@apache.org: CWE-917
  • nvd@nist.gov: CWE-917

Primary references