This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit 612b61c0ab292a82724ff835fb5935bb33f8c1d6 Author: Lukasz Lenart <[email protected]> AuthorDate: Thu Nov 19 08:08:49 2026 +0100 WW-5838 docs: list java.beans, java.lang.reflect and java.lang.invoke as excluded packages Co-Authored-By: Claude Opus 5.5 <[email protected]> --- source/security/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/security/index.md b/source/security/index.md index 79ddd46e7b..813c55bd75 100644 --- a/source/security/index.md +++ b/source/security/index.md @@ -420,6 +420,12 @@ There are 4 options that can be used to configure excluded packages and classes: The defaults are defined [here](https://github.com/apache/struts/blob/main/core/src/main/resources/struts-excluded-classes.xml). +Since Struts 7.5.0 and 6.13.0 the default excluded packages also include `java.beans`, `java.lang.reflect` and +`java.lang.invoke`, in both the regular and the `devMode` lists. An application that needs a class from one of these +packages in an expression can re-allow that class with `struts.excludedPackageExemptClasses` +(`struts.devMode.excludedPackageExemptClasses` in `devMode`). +{:.alert .alert-warning} + Any expression or target which does not pass this criteria will be blocked, and you will see a warning in the logs: ```
