All vulnerabilities

Maven · Servers and applications

CVE-2026-133639

Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping

Severity
Medium 6.1
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Apache StrutsServers and applications · cna:apache software foundation|apache struts
  • From 2.2.1 up to 2.3.37
  • From 2.5.0 up to 2.5.33
  • From 6.0.0 up to 6.12.0
  • From 7.0.0 up to 7.4.0
org.apache.struts:struts2-javatemplates-pluginMaven · osv:Maven:org.apache.struts:struts2-javatemplates-plugin
  • From 2.2.1 up to 2.3.37
  • From 2.5.0 up to 2.5.33
  • From 6.0.0 up to 6.12.0
  • From 7.0.0 up to 7.4.0

About Apache Struts

open-source web application framework

From Wikidata, CC0 1.0.
GitHub stars
1,373GitHub, 29 Nov 2026
Forks
884GitHub, 29 Nov 2026
Latest release
STRUTS_7_5_1GitHub, 29 Nov 2026
Released
25 Nov 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache LicenseWikidata
Written in
JavaWikidata
First released
10 Oct 2006Wikidata
First published on GitHub
15 Jan 2014GitHub

Release lines

ReleaseLatestSecurity fixes
77.5.1Yes
66.13.0Yes
2.52.5.33Ended 30 Apr 2024
2.32.3.37Ended 14 May 2019
2.22.2.3.1Ended
2.12.1.8.1Ended

From endoflife.date.

About org.apache.struts:struts2-javatemplates-plugin

This is the only vulnerability in org.apache.struts:struts2-javatemplates-plugin in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-133639