XSS in Apache Struts
CVE-2011-2087
Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a .action URI, related to improper handling of value attributes in (1) FileHandler.java, (2) HiddenHandler.java, (3) PasswordHandler.java, (4) RadioHandler.java, (5) ResetHandler.java, (6) SelectHandler.java, (7) SubmitHandler.java, and (8) TextFieldHandler.java.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.061, 93.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Struts — versions 2.0.0, 2.0.1, 2.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (snic-nsc/cvechecker, snic-nsc/esgf_scanner). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- issues.apache.org/jira/browse/WW-3597 (Exploit)
- ADV-2011-1198 (vdb-entry, Vendor Advisory)
- struts.apache.org/2.2.3/docs/version-notes-223.html
- issues.apache.org/jira/browse/WW-3608