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)

EPSS: 0.061 (92.7th percentile) — read the EPSS interpretation.

Affected products

  • Apache Struts — versions 2.0.0, 2.0.1, 2.0.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2011-2087?
CVE-2011-2087 is a vulnerability in Apache Struts, classified under Cross-site Scripting. Published 2011-05-13.
Is CVE-2011-2087 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.