Apache Struts2 Javatemplates Plugin cross-site scripting in UI tag attribute rendering
- Exploited
- No known exploitation
- Fix
- See vendor advisory
- Who is exposed
- Not reported
Summary
Apache Struts is affected when the Javatemplates plugin is used, specifically when an extra attribute passed to a UI tag is written into the page without HTML escaping. A crafted request carrying such a value could inject markup or script into the rendered page, which is a cross-site scripting flaw.
Written by a model
Original 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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-133639 (Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-133639 (entry last updated 2026-11-30):
Affected:
- Maven package org.apache.struts:struts2-javatemplates-plugin: 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
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-133639 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133639 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://cwiki.apache.org/confluence/display/WW/S2-083
- http://www.openwall.com/lists/oss-security/2026/11/30/8
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-133639
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133639"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
- Reach10/20Affects Maven packages
- Severity6.1/10CVSS 6.1
- No patch5/5No fixed version listed; see vendor advisory
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 43 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | cwiki.apache.org · confluence/display/WW/S2-083 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-133639 |
| Record | NVD · CVE-2026-133639 |
| Write-ups 1Establishes: Technical detail and context. | |
| Link | openwall.com · lists/oss-security/2026/11/30/8 |
Questions about CVE-2026-133639
Is CVE-2026-133639 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-133639?
org.apache.struts:struts2-javatemplates-plugin (Maven): 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.
Source: cve.now feed data
Why is it rated 6.1 Medium?
CVSS 6.1 scores the worst case. apache rates it Low.
Related
- CVE-2026-104711Apache Struts: OGNL injection in the legacy RESTful action mapper
- CVE-2026-133637Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin
- CVE-2026-104714Apache Struts: Shared message formatter exposes date and time values across concurrent requests
- CVE-2025-66675Apache Struts: File leak in multipart request processing causes disk exhaustion (DoS) - version ranges fixed
- CVE-2025-68493Apache Struts, Apache Struts: XXE vulnerability in outdated XWork component
- CVE-2026-104712Apache Struts: Disproportionate response size when rendering BigDecimal request parameters
No corrections so far. Something wrong on this page? Report an error.