CVE-2026-87830
Published:September 30, 2026
Updated:October 10, 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.
Affected Packages
https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-2.0.0 <wss4j-2.4.4Fix Suggestion:
Update to version wss4j-2.4.4https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-4.0.0 <wss4j-4.0.2Fix Suggestion:
Update to version wss4j-4.0.2https://github.com/apache/ws-wss4j.git (GITHUB):
Affected version(s) >=wss4j-3.0.0 <wss4j-3.0.6Fix Suggestion:
Update to version wss4j-3.0.6org.apache.wss4j:wss4j-ws-security-policy-stax (JAVA):
Affected version(s) >=2.0.0 <2.4.4Fix Suggestion:
Update to version 2.4.4org.apache.wss4j:wss4j-ws-security-policy-stax (JAVA):
Affected version(s) >=4.0.0 <4.0.2Fix Suggestion:
Update to version 4.0.2org.apache.wss4j:wss4j-ws-security-policy-stax (JAVA):
Affected version(s) >=3.0.0 <3.0.6Fix Suggestion:
Update to version 3.0.6Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
EPSS
Base Score:
0.21