6.1medium
Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://cwiki.apache.org/confluence/display/WW/S2-083 | mitigation, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2026/11/30/8 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133639 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-133639 changed 2026-12-01 | Public domain |