Critical · published September 30, 2026
In the StAX streaming WS-SecurityPolicy validator, certain relative or unsupported XPath expressions can be converted into paths that never match the actual XML element path. A remote SOAP peer may therefore send a required element without the expected signature or encryption.
Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4, which fix this issue.
| Product | Versions | Fixed in |
|---|---|---|
| apache/wss4j | < 2.4.4 | 2.4.4 |
| apache/wss4j | ≥ 3.0.0, < 3.0.6 | 3.0.6 |
| apache/wss4j | ≥ 4.0.0, < 4.0.2 | 4.0.2 |