Apache Software Foundation Apache Struts vulnerabilities

43 vulnerabilities

Known vulnerabilities in Apache Software Foundation Apache Struts, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

PrioritiseCVE-2026-133644apache software foundation · apache strutsApache Struts: HTTP method restriction declared on an action's default method is not enforcedIncorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default method and the action mapping does not name that method explicitly, the restriction is not enforced and the action can be invoked with any HTTP method. Applications that do not use these annotations are not affected. Actions that carry the annotation on the action class enforce the restriction as documented. This issue affects Apache Struts: from 6.2.0 through 6.13.0, from 7.0.0 through 7.4.0. Users are recommended to upgrade to version 7.5.0, which fixes the issue. The 6.x maintenance line does not carry the fix; on 6.x, declare the restriction on the action class instead of on the method.CVSS9.8CriticalEPSS0.38%RoutineCVE-2026-133643apache software foundation · apache struts +1 moreApache Struts: doubleselect tag writes a value into the page script without script escapingImproper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the doubleselect tag with the doubleMultiple attribute set, the value the tag preselects in its second list, for example a value submitted with the request and shown again on the form, is written into the script the tag generates without the escaping a script context requires. A crafted value can execute script in the page, and a Content Security Policy that relies on nonces does not prevent it. Applications that do not use the doubleselect tag, or use it without the doubleMultiple attribute, are not affected. This issue affects Apache Struts: from 2.1.8 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.CVSS6.1MediumEPSS1.39%PrioritiseCVE-2026-133642apache software foundation · apache strutsApache Struts: Action mapped from a path that differs from the one the servlet container authorizedInterpretation conflict vulnerability in Apache Struts. When deciding which action a request invokes, Struts derived the path from the request as it was received rather than from the path the servlet container had already decoded and normalised. The two can differ, so a request can be authorized by the container, by a filter or by a reverse proxy under one path and executed by Struts as a different action. Where access to actions is restricted by URL pattern in front of Struts, such as a security-constraint, a URL-pattern filter or a proxy rule, that restriction can be bypassed. For the same reason, a request could be handled by Struts although its path matched struts.action.excludePattern. Applications that enforce authorization inside Struts, for example with an interceptor on the action, apply it to the action that actually runs and are not affected by the bypass. This issue affects Apache Struts: from 2.1.2 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.CVSS9.1CriticalEPSS0.38%PrioritiseCVE-2026-133641apache software foundation · apache struts +1 moreApache Struts: Disproportionate expansion of BigDecimal request parameters in the number tag and localized messagesAsymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the number tag, or passed as an argument into a localized message, including the error message of a validator that rejects the value, the framework can build a string many orders of magnitude larger than the request that produced it. The string is built on the server whether or not it is sent to the client, allowing an unauthenticated remote attacker to exhaust server CPU and memory. Applications that do not bind request parameters to BigDecimal properties, or that neither render them with the number tag nor pass them into localized messages, are not affected. Properties of other numeric types are not affected. This issue affects Apache Struts: from 2.5.12 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.CVSS7.5HighEPSS1.82%PrioritiseCVE-2026-133640apache software foundation · apache struts +1 moreApache Struts: Incomplete fix for CVE-2026-104712: disproportionate response size when rendering BigDecimal request parametersAsymmetric resource consumption (amplification) vulnerability in Apache Struts. The fix released for CVE-2026-104712 in Struts 6.12.0 and 7.4.0 does not cover all affected values. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered as text through the property tag or a form field, the framework can still produce a response many orders of magnitude larger than the request, allowing an unauthenticated remote attacker to exhaust server CPU and outbound network capacity with sustained low-volume traffic. Applications that do not bind request parameters to BigDecimal properties, or never render such a property as text through the property tag or a form field, are not affected. Properties of other numeric types are not affected. This issue affects Apache Struts: from 2.5.12 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.CVSS7.5HighEPSS1.64%RoutineCVE-2026-133639apache software foundation · apache struts +1 moreApache Struts: Javatemplates plugin writes additional tag attributes without HTML escapingImproper 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.CVSS6.1MediumEPSS1.14%RoutineCVE-2026-133638apache software foundation · apache strutsApache Struts: Execute and Wait Interceptor lets the Token Interceptor accept a token the application did not issueCross-site request forgery (CSRF) vulnerability in Apache Struts. If the application uses the Execute and Wait Interceptor, a request to such an action could cause the Token Interceptor and the Token Session Interceptor to accept a token the application never issued, so a cross-site request could defeat the protection these interceptors give against cross-site request forgery. Applications that do not use the Execute and Wait Interceptor, or that do not rely on the Token Interceptor or the Token Session Interceptor, are not affected. This issue affects Apache Struts: from 2.1.2 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.CVSS8.8HighEPSS0.26%RoutineCVE-2026-133637apache software foundation · apache struts +1 moreApache Struts: Validation message evaluated as an expression in the Bean Validation pluginImproper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation message that places the submitted value into its text could be evaluated as an expression rather than shown as text, which may lead to remote code execution. This can happen with validation constraints whose standard message already includes the value being validated. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications that do not use the Bean Validation plugin are not affected. This issue affects Apache Struts: 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.CVSS8.8HighEPSS2.06%RoutineCVE-2026-133636apache software foundation · apache strutsApache Struts: Fetch Metadata Interceptor accepts cross-site requests its resource isolation policy rejectsOrigin validation error vulnerability in Apache Struts. The Fetch Metadata Interceptor, which is part of the default interceptor stack, did not enforce its documented resource isolation policy: some cross-site requests that the policy rejects were accepted and reached the action. An application relying on the interceptor as a defence against cross-site request forgery and cross-origin information leaks did not receive that protection. Applications that protect their state-changing actions independently of Fetch Metadata, and that do not serve sensitive data in responses that another site could load, are not affected in practice. Releases before 6.0.0 do not include the interceptor and are not affected. This issue affects Apache Struts: 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.CVSS6.5MediumEPSS0.34%PrioritiseCVE-2026-133649apache software foundation · apache strutsApache Struts: HTTP method restriction declared on an action class is not enforced in Struts 6.9.0Incorrect authorization vulnerability in Apache Struts. Struts can restrict an action to a set of HTTP methods through annotations declared either on the action class or on the action method. In Struts 6.9.0 a restriction declared only on the action class is not enforced when the action configuration names the method to be invoked, so a request that uses a method the application intended to reject is accepted and the action runs. Applications that do not use these annotations are not affected. Neither are applications that declare the restriction on the invoked method, nor actions left to the default method. Struts 6.8.0 and earlier are not affected, and no release on the 7.x maintenance line is affected. This issue affects Apache Struts: 6.9.0. Users are recommended to upgrade to version 6.10.0, which fixes the issue.CVSS9.8CriticalEPSS0.39%RoutineCVE-2026-104714apache software foundation · apache struts +1 moreApache Struts: Shared message formatter exposes date and time values across concurrent requestsConcurrent execution using shared resource with improper synchronization ('race condition') vulnerability in Apache Struts. Where a localized message formats a date or time argument, the formatter retained for that message by the application-wide text provider is used by concurrently served requests without isolation, so a value belonging to one user can appear in another user's response, or the rendering can fail and surface as a server error. Applications whose localized messages format no date or time arguments are not affected. This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.CVSS8.8HighEPSS0.53%RoutineCVE-2026-104713apache software foundation · apache struts +1 moreApache Struts: Unbounded request body read in the REST pluginAllocation of resources without limits or throttling vulnerability in the Apache Struts REST plugin. A request body is read into memory without any bound on how much will be accepted, so a single request can cause the server to allocate memory in proportion to its size, exhausting the Java heap and denying service to other users. No additional setting has to be enabled. Applications that do not use the REST plugin are not affected. This issue affects Apache Struts: from 2.1.8 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.CVSS6.5MediumEPSS0.56%PrioritiseCVE-2026-104712apache software foundation · apache struts +1 moreApache Struts: Disproportionate response size when rendering BigDecimal request parametersAsymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the Struts tag library, the framework can produce a response many orders of magnitude larger than the request, allowing an unauthenticated remote attacker to exhaust server CPU and outbound network capacity with sustained low-volume traffic. Applications that do not bind request parameters to BigDecimal properties, or never render such a property through the Struts tag library, are not affected. This issue affects Apache Struts: from 2.5.14 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.CVSS7.5HighEPSS0.84%PrioritiseCVE-2026-104711apache software foundation · apache struts +1 moreApache Struts: OGNL injection in the legacy RESTful action mapperImproper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application is configured to use the legacy RESTful action mapper, a crafted request can inject an OGNL expression that may lead to remote code execution. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications using the default action mapper, the restful2 mapper, or the Struts REST plugin are not affected. This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.CVSS9.8CriticalEPSS1.65%RoutineCVE-2026-73632apache software foundation · apache struts +1 moreApache Struts: Shared serialization state in the JSON pluginExposure of data element to wrong session vulnerability in the JSON plugin of Apache Struts. Per-response serialization state could be shared across concurrent requests, allowing response content associated with one request to become observable in another. Only the SMD / JSON-RPC handling of the JSON interceptor is affected, which is not enabled by default; applications using the json result type are not affected. This issue affects Apache Struts: 7.2.1. Users are recommended to upgrade to version 7.3.0, which fixes the issue.CVSS4.3MediumEPSS0.26%RoutineCVE-2026-73631apache software foundation · apache struts +1 moreApache Struts: Shared parsing state in the JSON pluginExposure of data element to wrong session vulnerability in the JSON plugin of Apache Struts. Per-request parsing state could be shared across concurrent requests, allowing data associated with one request to become observable in another, and configured parsing limits not to be enforced as intended. Populating actions from a JSON request body is not enabled by default; applications that do not use the JSON plugin are not affected. This issue affects Apache Struts: 7.2.1. Users are recommended to upgrade to version 7.3.0, which fixes the issue.CVSS4.3MediumEPSS0.26%PrioritiseCVE-2026-73635apache software foundation · apache struts +1 moreApache Struts: Unbounded growth of localized-text caches driven by the request localeAllocation of resources without limits or throttling vulnerability in Apache Struts. When no fixed locale is configured, the locale used for localized-text lookups is taken from the incoming request, allowing an unauthenticated remote client to cause the framework's internal localized-text caches to grow without bound and exhaust the Java heap, denying service to other users. Applications that configure a fixed locale are not affected. This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.10.0, from 7.0.0 through 7.2.1. Users are recommended to upgrade to version 6.11.0 or 7.3.0, which fixes the issue.CVSS7.5HighEPSS0.45%PrioritiseCVE-2026-73634apache software foundation · apache struts +1 moreApache Struts: Unbounded read of a Content Security Policy violation reportUncontrolled resource consumption vulnerability in Apache Struts. An application that exposes an endpoint collecting Content Security Policy violation reports reads the submitted report into memory without bounding how much it will accept, so a single request can exhaust the heap and deny service to other users. Such endpoints are ordinarily reachable without authentication. The core distribution maps no such endpoint by default; applications that do not collect violation reports are not affected. This issue affects Apache Struts: from 6.0.0 through 6.10.0, from 7.0.0 through 7.2.1. Users are recommended to upgrade to version 6.11.0 or 7.3.0, which fixes the issue.CVSS7.5HighEPSS0.43%PrioritiseCVE-2026-73633apache software foundation · apache struts +1 moreApache Struts: Unbounded read of a JSON request bodyUncontrolled resource consumption vulnerability in the JSON plugin of Apache Struts. When an application is configured to populate actions from a JSON request body, the plugin reads that body into memory without bounding how much it will accept, so a single request can exhaust the heap and deny service to other users. The plugin's configurable JSON input length limit does not bound this read. The JSON plugin is an optional component; applications that do not use it, or use it without enabling JSON request-body handling, are not affected. This issue affects Apache Struts: from 2.1.8 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.10.0, from 7.0.0 through 7.2.1. Users are recommended to upgrade to version 6.11.0 or 7.3.0, which fixes the issue.CVSS7.5HighEPSS0.60%RoutineCVE-2025-68493apache software foundation · apache struts +4 moreApache Struts, Apache Struts: XXE vulnerability in outdated XWork componentMissing XML Validation vulnerability in Apache Struts, Apache Struts. This issue affects Apache Struts: from 2.0.0 before 2.2.1; Apache Struts: from 2.2.1 through 6.1.0. Users are recommended to upgrade to version 6.1.1, which fixes the issue.CVSS8.1HighEPSS50.42%