Skip to main content

Apache Struts CVE-2026-133639

| EUVDEUVD-2026-138189 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-30 apache GHSA-3xhv-rg28-9w64
6.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app using Javatemplates with request-driven passthrough attribute
  2. Delivery
    Craft request with script payload in that value
  3. Exploit
    Value reflected unescaped into rendered UI tag
  4. Execution
    Victim loads page, browser executes injected script
  5. Impact
    Session/credential theft in app's origin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application use the Apache Struts Javatemplates plugin (the default FreeMarker templates are explicitly not affected), that a UI tag be passed an additional attribute which is not part of that tag's own attribute set and is written through to the rendered element, and that this attribute's value be derived from request input. Limiting factors: the Javatemplates plugin is non-default, the application must itself be coded to forward request-derived extra attributes to UI tags, and successful script execution requires a victim to load the crafted page (user interaction); per the assessed vector no authentication is needed, but the specialized configuration and app-coding prerequisites substantially reduce the realistically exposed population.

Impact

No CVSS, EPSS, KEV, or PoC data is supplied, so quantitative exploitation signals are entirely absent and the vuln.today Decision label is 'monitor' - the lowest urgency tier - which is consistent with that absence. The flaw is CWE-79 cross-site scripting, but it is heavily conditioned: it only manifests when the application uses the non-default Javatemplates plugin AND a UI tag is passed an additional, non-native attribute that is written through to the rendered element AND that attribute's value derives from request input. Applications using the default FreeMarker templates are explicitly not affected, which sharply narrows the real-world exposed population below Struts' overall footprint. My own assessed vector treats this as a reflected XSS requiring victim interaction (UI:R) with limited, browser-scoped impact, so even where present the severity is Medium-class rather than critical. There is no evidence of active exploitation and no public exploit reference in the input - only the Apache advisory. Net: treat as a patch-in-normal-cycle hardening item, not an emergency; the main caveat is that CVSS is entirely inferred here (input score is N/A), so the Medium framing is an analyst estimate, not a vendor-confirmed rating.

Exploit ScenarioDerived

An application running an affected Struts version with the Javatemplates plugin renders a UI tag that forwards a request-derived value into an extra HTML attribute without escaping. An attacker crafts a request (e.g. a tampered parameter) whose value breaks out of the attribute and injects markup or script, which then executes in the browser of a victim who loads the resulting page. No public exploit code is identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Cross-site scripting in Apache Struts UI tags affects applications that render pages through the non-default Javatemplates plugin, where an extra attribute not belonging to the tag's own attribute set is written through to the rendered element without HTML escaping. The flaw spans 2.2.1 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0; applications using the default FreeMarker templates are not affected. Per the assessed vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) an unauthenticated remote attacker can attempt injection, but script execution occurs in a victim's browser only if the application itself forwards request-derived values into such extra attributes - specialized configuration and application-coding prerequisites that substantially narrow the realistically exposed population; no public exploit has been identified at time of analysis and the vuln.today Decision label is 'monitor'.

RemediationAI

Vendor-released patch: upgrade to Apache Struts 6.13.0 or 7.5.0, either of which fixes the issue, as documented in security bulletin S2-083 (https://cwiki.apache.org/confluence/display/WW/S2-083). Note that the 2.2.x and 2.5.x branches have no listed fixed release, so applications still on those lines need to move to a supported branch to obtain the fix. Where upgrading cannot be done immediately, removing the Javatemplates plugin from the configuration and rendering UI tags with the default FreeMarker templates closes the affected code path, at the cost of any rendering behavior specific to Javatemplates that the application depends on; additionally, auditing application code so that request-derived values are never forwarded as undeclared extra attributes to UI tags removes the injection precondition, though this requires code review and does not substitute for the vendor fix.

Affected VersionsENISA

Apache Struts 2.5.0 ≤2.5.33
Apache Struts 6.0.0 ≤6.12.0
Apache Struts 2.2.1 ≤2.3.37
Apache Struts 7.0.0 ≤7.4.0

Affected Packages

euvd apache_struts no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79, improper neutralization of input during web page generation. Apache Struts renders its UI tag library through a templating layer, and that layer can be supplied either by the default FreeMarker templates or by the optional Javatemplates plugin. In the Javatemplates path, when a UI tag receives an additional attribute that is not part of the tag's declared attribute set and that attribute is passed through to the rendered HTML element, the value is emitted into the page without HTML escaping. If such an attribute's value is derived from the incoming request, markup or script can be injected into the generated page and executed in the browser of a user who loads it. The assessed vector marks scope as changed (S:C) with low confidentiality and integrity impact, reflecting that the script runs in the context of the vulnerable application's origin rather than of the Struts library itself. The CPE entry identifies the affected platform generically as apache_software_foundation:apache_struts, so exposure must be determined by version plus the presence of the Javatemplates plugin in the application's configuration; the default FreeMarker rendering path is explicitly outside the affected surface.

Know when Apache Struts gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 6.1 LOW
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-reachable reflected XSS needing no authentication but requiring a victim to load the crafted page (UI:R), with scope change into the browser context and limited confidentiality/integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 30, 2026 - 15:22 NVD
6.1 (MEDIUM)
CVE Published
Nov 30, 2026 - 11:15 cve.org
LOW

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
Apache Struts is a widely deployed Java enterprise web framework
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy