Read the docs

Cross-site scripting in Apache Struts Javatemplates plugin

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.

Summary

Apache Struts from 2.2.1 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0 and from 7.0.0 through 7.4.0 is affected when the application uses the Javatemplates plugin. Additional attributes passed to UI tags are written into the rendered page without HTML escaping (CWE-79). If such an attribute carries a value taken from the request, a crafted request can inject markup or script, and a user must interact with the page. Applications that render the UI tags with the default FreeMarker templates are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the Javatemplates plugin, an additional attribute passed to a UI tag, that is an attribute which is not part of the tag's own attribute set and is written through to the rendered element, is placed into the page without HTML escaping. Where such an attribute carries a value derived from the request, a crafted request could inject markup or script into the rendered page. Applications rendering the UI tags with the default FreeMarker templates are not affected. This issue affects Apache Struts: from 2.2.1 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0. Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Struts2.2.1 – 2.3.37; 2.5.0 – 2.5.33; 6.0.0 – 6.12.0; 7.0.0 – 7.4.0—No fix listedCNA
  • Apache Struts VendorApache Affected 2.2.1 – 2.3.37; 2.5.0 – 2.5.33; 6.0.0 – 6.12.0; 7.0.0 – 7.4.0 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* Versions — — ·Apache

Remediation

Upgrade Apache Struts to version 6.13.0 or 7.5.0, which fixes the issue. The sources list no fixed version for Apache Struts 2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-133639
  2. 2026-11-30 Alias added: GHSA-3xhv-rg28-9w64
  3. 2026-11-30 CVSS score added · CISA ADP
  4. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
See all 4297 →

Sources