Medium

Apache Struts Multiple XSS Vulnerabilities

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 12:21

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
  8. TextFieldHandler.java

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.struts:struts2-parent < 2.2.3 2.2.3

References

CVSS score -
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.apache.struts:struts2-parent
Disclosed
17.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5pgj-r7c6-7c7w - CC BY 4.0

Vulnerability history: org.apache.struts:struts2-parent

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
05.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2022: 3
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Apache Struts Multiple XSS Vulnerabilities this entry
    Medium CVE-2011-2087 < 2.2.3 2.2.3
  2. Medium CVE-2012-1006 < 2.1.2, >= 2.2, < 2.2.3.1 2.1.2, 2.2.3.1
  3. High · 8.8 CVE-2016-3090 >= 2.0.0, < 2.3.20 2.3.20

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.