Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-31805

84
FAUCET Score

CVE-2021-31805 is a critical Remote Code Execution (RCE) vulnerability affecting Apache Struts versions 2.0.0 to 2.5.29. It stems from an incomplete fix for a previous vulnerability, allowing double OGNL evaluation when developers use the %{...} syntax on untrusted user input. With a CVSS score of 9.8 (Critical), this vulnerability is easily exploitable over the network with no user interaction, leading to complete compromise of confidentiality, integrity, and availability. While not listed in CISA KEV, it has a high EPSS score and a Nuclei template for exploitation, indicating potential for active exploitation. Community discussion and media coverage highlight its significance and the urgency of patching.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.0.0, <= 2.5.29CPE matchmatch criteria
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
85.31%
Probability of exploitation in next 30 days
EPSS Percentile
99.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
Nuclei: CVE-2021-31805 · Apr 18, 2022
This CVE's current EPSS score of 0.8531 is in the 99th percentile among its peer group of 36,897 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

mavenpatch availablevia ghsa
Product: org.apache.struts:struts2-coreFixed in: 2.5.30

Vendor Advisories (2)

mavenGHSA-v8j6-6c2r-r27ccritical

Expression Language Injection in Apache Struts

Apr 13, 2022
redhatCVE-2021-31805Important

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

Apr 12, 2022

References

cwiki.apache.org / confluence/display/WW/S2-062
MitigationPatchVendor Advisory
security.netapp.com / advisory/ntap-20220420-0001
Third Party Advisory
oracle.com / security-alerts/cpujul2022.html
openwall.com / lists/oss-security/2022/04/12/6
Mailing ListMitigationThird Party Advisory