Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using Javatemplates with request-driven passthrough attribute
-
DeliveryCraft request with script payload in that value
-
ExploitValue reflected unescaped into rendered UI tag
-
ExecutionVictim loads page, browser executes injected script
-
ImpactSession/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Apache Struts
View allExpression Language injection in Apache Struts (2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0) can
Reflected cross-site scripting in Apache Struts lets a remote, unauthenticated attacker execute script in a victim's bro
HTTP method restrictions declared with annotations such as @HttpPost can be silently bypassed in Apache Struts 6.2.0 thr
URL-pattern access control bypass in Apache Struts allows unauthenticated remote requests to reach actions that front-en
Apache Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0 can be driven into CPU and memory exh
Denial of service in Apache Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0, where an unauth
Cross-site request forgery protection can be bypassed in Apache Struts when an application combines the Execute and Wait
EUVD-2026-138189
GHSA-3xhv-rg28-9w64
NVD
CVE.org
EPSS
VulDB
Exploit-DB