Read the docs
TI-2021-11803 Aliases CVE-2021-31805GHSA-v8j6-6c2r-r27c

Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.

Priority HIGH 84CWE-917Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-917.

Summary

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.

Why it matters now

EPSS 0.85433 99th percentileScored 2026-11-07
Fix Fixed org.apache.struts:struts2-core (Maven): 2.5.30

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Struts2.0.0 to 2.5.29—No fix listedCNA
—org.apache.struts:struts2-core (Maven)2.0.0 to before 2.5.302.5.30Patch availableGHSA-v8j6-6c2r-r27c
  • Apache Struts VendorApache Affected 2.0.0 to 2.5.29 Fixed in — No fix listed CNA
  • org.apache.struts:struts2-core (Maven) Vendor— Affected 2.0.0 to before 2.5.30 Fixed in 2.5.30 Patch available GHSA-v8j6-6c2r-r27c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*2.0.0 – 2.5.29VulnerableApache
  • cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* Versions 2.0.0 – 2.5.29 Vulnerable ·Apache

Remediation

  • Fix · GHSA-v8j6-6c2r-r27c org.apache.struts:struts2-core (Maven) Fixed in 2.5.30 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 3 products
  • Red Hat JBoss Fuse 6
  • Red Hat JBoss Fuse Service Works 6
  • Red Hat JBoss Operations Network 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-31805
  2. 2026-10-03 Alias added: GHSA-v8j6-6c2r-r27c

References

  • TI-2020-13278 Expression language injection in Apache Struts KEVCVSS 3.1CRITICAL 9.8
  • TI-2017-07171 Improper input validation in Apache Struts KEVCVSS 3.1CRITICAL 9.8
  • TI-2017-03639 Improper handling of exceptional conditions in Apache Struts KEVCVSS 3.1CRITICAL 9.8
  • TI-2013-02013 Apache Struts 2.0.0 through 2.3.15 allows remote attackers to execute arbitrary OGNL… KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-00357 The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter… KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-08433 Improper input validation in Apache Struts KEVCVSS 3.1HIGH 8.1
See all 98 →

Sources