Description
Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.14 and 2.2.3 allow remote attackers to inject arbitrary web script or HTML via the (1) name or (2) lastName parameter to struts2-showcase/person/editPerson.action, or the (3) clientName parameter to struts2-rest-showcase/orders.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Apache Struts - Multiple Persistent Cross-Site Scripting Vulnerabilities EDB-18452 · webapps · Feb 2, 2012
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-parent | < 2.1.2 | 2.1.2 | GHSA-cmpm-jg8r-fv37 |
| Maven | org.apache.struts:struts2-parent | >= 2.2, < 2.2.3.1 | 2.2.3.1 | GHSA-cmpm-jg8r-fv37 |