CVE-2026-133639
published medium CVSS 3.1 · 6.1Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.struts:struts2-javatemplates-pluginApache Struts · 2.2.1 through 2.3.37 · 2.5.0 through 2.5.33 · 6.0.0 through 6.12.0 · 7.0.0 through 7.4.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Struts | 2.2.1 through 2.3.37 (affected · semver)2.5.0 through 2.5.33 (affected · semver)6.0.0 through 6.12.0 (affected · semver)7.0.0 through 7.4.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3apache · cna
Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d1a6e0d32ad2e7822b1db9a0253adb07308d4d94eb4255a112b44d898288d6c4
- Ingested
- 30 Nov 2026, 18:36:54 UTC
- Source record
- Official CVE record