Every CVE Search/ Get API key

CVE-2020-17530

Remote code execution in Apache Struts

9.8 CriticalIn KEVPublic exploitFix available

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

96.3%Up 22.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Record
CVE-2020-17530
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-917
Updated
2026-11-02
CVE List 9.8

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Record
CVE-2020-17530
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-917
Updated
2026-11-02
EUVDEUVD-2022-1073 9.8

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Record
EUVD-2022-1073
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-jc35-q369-45pv 9.8

Remote code execution in Apache Struts

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

Record
GHSA-jc35-q369-45pv
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-94, CWE-917
Updated
2026-11-02
CISA KEV No score

Apache Struts Remote Code Execution Vulnerability

Forced Object-Graph Navigation Language (OGNL) evaluation in Apache Struts, when evaluated on raw user input in tag attributes, can lead to remote code execution.

Record
CVE-2020-17530
Weakness
CWE-917
Updated
2026-11-02
OSV 9.8

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Record
CVE-2020-17530
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-jc35-q369-45pv 9.8

Remote code execution in Apache Struts

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

Record
GHSA-jc35-q369-45pv
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Weakness
CWE-917, CWE-94
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.struts:struts2-core
Maven
2.0.0 up to 2.5.26
2.5.26
org.apache.struts:struts2-core
Maven
2.0.0 up to 2.5.26, plus listed versions
2.0.112.0.11.12.0.11.22.0.122.0.14
Show 45 moreShow less
2.0.52.0.62.0.82.0.92.1.22.1.62.1.82.1.8.12.2.12.2.1.12.2.32.2.3.12.3.12.3.1.12.3.1.22.3.122.3.142.3.14.12.3.14.22.3.14.32.3.152.3.15.12.3.15.22.3.15.32.3.162.3.16.12.3.16.22.3.16.32.3.202.3.20.12.3.20.32.3.242.3.24.12.3.24.32.3.282.3.28.12.3.292.3.32.3.302.3.312.3.322.3.332.3.342.3.352.3.36
2.5.26

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitApache Struts 2 Forced Multi OGNL Evaluation2020-09-14
PoC in GitHubka1n4t/CVE-2020-175302020-12-09
PoC in GitHubsecpool2000/CVE-2020-175302020-12-09
PoC in GitHubwuzuowei/CVE-2020-175302020-12-10
PoC in GitHubAl1ex/CVE-2020-175302020-12-13
PoC in GitHubfengziHK/CVE-2020-17530-strust2-0612020-12-14
PoC in GitHubludy-dev/freemarker_RCE_struts2_s2-0612020-12-18
PoC in GitHubCyborgSecurity/CVE-2020-175302020-12-30
PoC in GitHubuzzzval/CVE-2020-175302021-01-07
PoC in GitHubkillmonday/CVE-2020-17530-s2-0612021-01-24
Show 4 moreShow less
Public exploits
SourceLinkDate
PoC in GitHubkeyuan15/CVE-2020-175302023-04-02
PoC in GitHubnth347/struts2-CVE-2020-175302023-08-04
PoC in GitHubfatkz/CVE-2020-175302025-05-14
NucleiApache Struts 2.0.0-2.5.25 - Remote Code Execution

History

History
RecordedChangedSources
exploitation, exploits
first indexedCVE List, EUVD, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-17530 is a critical vulnerability (CVSS 9.8) in Apache Struts, published December 11, 2020. CISA lists it as known to be exploited, since November 3, 2021. EUVD reports exploitation since November 3, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 96.3%, the 99th percentile. Fixed in org.apache.struts:struts2-core 2.5.26.

References

Show 9 moreShow less
This page doesn't list everything

Left out here: 25 versions. The JSON record has them.

MoveEnter Open