CVE-2019-0230Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…
- 9.8CriticalCVSS base score
- 96.9%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it.
Show the exploits3
Metasploit modules1 module
- Apache Struts 2 Forced Multi OGNL Evaluation (Metasploit module) (opens in a new tab)
exploit/multi/http/struts2_multi_eval_ognlRank excellentdisclosed 14 Sept 2020
Nuclei templates1 template
- Apache Struts <=2.5.20 - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2019/CVE-2019-0230.yamlSeverity critical
Exploit-DB1 entry
- Apache Struts 2.5.20 - Double OGNL evaluation (Exploit-DB entry) (opens in a new tab)
EDB-ID 49068remote, multiplepublished 17 Nov 2020Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 22 months later
· 22 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 96.9% · top 0.1% of all CVEs (14 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Struts
- affected Apache Struts 2.0.0 to 2.5.20
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.struts:struts2-coreGHSA-wp4h-pvgw-5727 (opens in a new tab)
References
References9
- https://cwiki.apache.org/confluence/display/ww/s2-059 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2021.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/160108/Apache-Struts-2.5.20-Double-OGNL-Evaluation.html (opens in a new tab)x_refsource_MISCx_transferred
- https://launchpad.support.sap.com/#/notes/2982840 (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/160721/Apache-Struts-2-Forced-Multi-OGNL-Evaluation.html (opens in a new tab)x_refsource_MISCx_transferred
- [announce] 20210125 Apache Software Foundation Security Report: 2020 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuApr2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2606 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-wp4h-pvgw-5727 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-0230)Record last updated .