Apache Software FoundationCVE-2026-87830
Apache WSS4J: expression injection
Fix: upgrade to 4.0.2 or later (3 fixed versions below)
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache WSS4J Product | >= 4.0.0, < 4.0.2 | 4.0.2 |
| >= 3.0.0, < 3.0.6 | 3.0.6 | |
| < 2.4.4 | 2.4.4 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Severity from
- CISA (its enrichment of the CVE record)
- Weakness
- CWE-917