Apache Struts vulnerabilities

104 vulnerabilities

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

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-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-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-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%PrioritiseCVE-2025-66675apache software foundation · apache struts +2 moreApache Struts: File leak in multipart request processing causes disk exhaustion (DoS) - version ranges fixedDenial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion. This issue affects Apache Struts: from 2.0.0 through 6.7.4, from 7.0.0 through 7.0.3. Users are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue. It's related to  https://cve.org/CVERecord?id=CVE-2025-64775  - this CVE addresses missing affected version 6.7.4CVSS8.2HighEPSS0.64%PrioritiseCVE-2025-64775apache software foundation · apache struts +2 moreApache Struts: File leak in multipart request processing causes disk exhaustion (DoS)Denial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion. This issue affects Apache Struts: from 2.0.0 through 6.7.0, from 7.0.0 through 7.0.3. Users are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue.CVSS7.5HighEPSS1.51%PrioritiseCVE-2024-53677apache software foundation · apache struts +2 moreApache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checksFile upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. This issue affects Apache Struts: from 2.0.0 before 6.4.0. Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload . If you are not using an old file upload logic based on FileuploadInterceptor your application is safe. You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067CVSS9.8CriticalEPSS84.57%PrioritiseCVE-2023-50164apache software foundation · apache struts +2 moreApache Struts: File upload component had a directory traversal vulnerabilityAn attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.CVSS9.8CriticalEPSS80.82%PrioritiseCVE-2023-41835apache software foundation · apache struts +2 moreApache Struts: excessive disk usageWhen a Multipart request is performed but some of the fields exceed the maxStringLength  limit, the upload files will remain in struts.multipart.saveDir  even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.CVSS7.5HighEPSS7.24%