docs(security): re-baseline the threat model on S2-070..S2-074 (#1852) The v0 threat model predates the five bulletins published on 2026-08-14, and read against them it does not describe the framework the PMC has been defending. Three of the five would have been closed as non-findings, and the other two had no security property to violate. The DoS boundary is the substantive error. SECURITY.md says two separate things: a disclaimer about generic attacks against any networked server, and a design philosophy about avoiding resource consumption non-linear in the size of inputs. The model fused them into a triage threshold and put everything linear out of scope - so S2-072 landed squarely on §11a's "I streamed a huge body", and the growth in all three DoS bulletins is linear. All three carry CVEs. Restate the line as boundedness rather than curve shape, in §3/§9/§11a, and add the matching paragraph to SECURITY.md so the model stops paraphrasing that document into a rule it does not state. Add the two properties the bulletins show the framework actually owes: §8.6 per-request state isolation (S2-070/071 - shared parse and serialization state across concurrent requests, which in S2-070 also defeated a configured limit) and §8.7 bounded consumption of request-derived input (S2-072/073/074 - bounded body reads, bounded framework-managed state, and a limit that must bound the read it names). §7 gains the two client capabilities these imply, concurrency and repetition; §6 gains the request body as its own surface and a note that a value used as a cache key is an input class of its own. Separate "optional feature" from "non-default configuration" in §2 and §13. Four of the five bulletins concern surfaces that are off until an application enables them, and as written the model let a triager close every one as OUT-OF-MODEL: non-default-config. That disposition is for settings documented as unsafe, not for features documented as available. Record the 7.3.0/6.11.0 hardening in §5a - struts.i18n.cacheMaxSize, struts.csp.report.maxSize, and the opt-in struts.locale.validateRequestLocale - as a second envelope change after 7.0. Q-dos and Q-plugins move to answered, since the PMC settled both by issuing CVEs; Q-concurrency, Q-bounds and Q-optional take their place. §12 gains the trigger that would have caught this earlier: a published bulletin whose class is not already a §8 property. §16 maps each bulletin to the sections it drives. Everything here is sourced from the published bulletins. The bulletins are deliberately terse about mechanism, and this document holds that line: it describes the classes of defect and what they mean for triage, not where the framework was weak or how to reach it. Still a draft, still unratified - the corrections are drawn from the published bulletins, not from a PMC position on the model itself. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The Apache Struts web framework is a free open-source solution for creating Java web applications.
More information can be found on the homepage. Please read the Security Guide, and the JavaDocs can be browsed. Questions related to the usage of Apache Struts should be posted to the user mailing list.
Web applications differ from conventional websites in that web applications can create a dynamic response. Many websites deliver only static pages. A web application can interact with databases and business logic engines to customize a response.
Web applications based on JavaServer Pages sometimes commingle database code, page design code, and control flow code. In practice, we find that unless these concerns are separated, larger applications become difficult to maintain.
One way to separate concerns in a software application is to use a Model-View-Controller (MVC) architecture. The Model represents the business or database code, the View represents the page design code, and the Controller represents the navigational code. The Struts framework is designed to help developers create web applications that utilize an MVC architecture.
The framework provides three key components:
The framework’s architecture and tags are buzzword compliant. Struts works well with conventional REST applications and with technologies like SOAP and AJAX.
The Apache Struts Project is the open source community that creates and maintains the Apache Struts framework. The project consists of a diverse group of volunteers who share common values regarding collaborative, community-based open source development. The Apache Struts Project is proud to share these values with our parent organization: The Apache Software Foundation.
The project is called “Struts” because the framework is meant to furnish the “invisible underpinnings” that support professional application development. Struts provides the glue that joins the various elements of the standard Java platform into a coherent whole. Our goal is to leverage existing standards by producing the missing pieces we need to create enterprise-grade applications that are easy to maintain over time.
The Apache Struts Project offered two major versions of the Struts framework. Currently we are only maintaining the Struts 2 version. It is recommended to upgrade all Struts 1.x applications to Struts 2. Please do not start new application development using Struts 1.x, as we are no longer issuing security patches.
Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts 2. The 2.x framework is the best choice for teams who value elegant solutions to difficult problems.
Apache Struts is a modern, maintained and full-featured web framework. As it has been around for years and grown a huge user base it is unlikely it will go away anytime soon. Not only that, we have dedicated users and developers on the project. Apache Struts is licensed under the Apache License 2.0 and this will not change. We maintain a clean IP and you are “safe” to use the project. Sometimes you are not “safe” to use a project when a company controls the SCM. Access to Source Code doesn’t mean it is free. With Apache Struts, you are not only free to “do what you want with it”, you can even contribute (which is not always the case). And best of all: you can become a part of the core team too.
It is usually very easy to integrate other technologies with Apache Struts. If you are using an ORM like Apache Cayenne, Hibernate or JDBC, you will not have any restrictions. Apache Struts is not even tied too much to a frontend technology. In old days it was JSP, then came Velocity and Freemarker. Nowadays you might build your web application with just static HTML and AngularJS. Or you might want to use Sitemesh or Tiles. This all is no problem due to Struts' elegant and easy-to-use extension mechanisms.
Unlike other, component-oriented frameworks, we do not aim to hide the stateless nature of the web. We think it is perfectly acceptable to build upon a Request/Response cycle. We also think the MVC pattern is not so bad, just because it is old. In fact, we believe the Apache Struts architecture is clean and easy to understand.
Of course, if you wish to build components on the server side which render on the front end side, you will most likely not want Struts. This is a different approach which promises to reduce the amount of HTML/JavaScript knowledge needed and to create reusable components for the view layer. Projects like Wicket and Tapestry serve this purpose very well. As with every framework, you need to decide if it makes sense for you to build components or if you prefer the Struts approach.
The Apache Struts community does not offer commercial support by itself, but we maintain a list of companies offering commercial support on our website.
Some Apache Struts maintainers are working with Tidelift to provide commercial support and invest paid working time in the improvement of the Apache Struts framework. For more information, visit the Tidelift resources regarding Apache Struts
YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit is the creator of innovative and intelligent tools for profiling Java and .NET applications. As an Apache committer, you can get a free license at YourKit's open source sponsorship program.