CVE-2026-59405
LowCVSS 2.2Exploitation Probability (EPSS)
Low risk25th percentile - higher than 25% of all known CVEs
Summary
Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack's default SecurityMode.ifpossible applies. If the server does not advertise STARTTLS (which an on-path attacker can strip from the cleartext stream), the connection continues unencrypted and credentials and XMPP traffic are sent in plaintext.
Risk Assessment
An on-path attacker can steal credentials and read or inject XMPP messages that the integration flow treats as legitimate.
Recommendation
Enforce a security mode (e.g. SecurityMode.required) in XMPPTCPConnectionConfiguration or upgrade Spring Integration XMPP to a patched version.
Other vulnerabilities in Spring Integration XMPP
Original NVD description (English source)
The XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack's default of SecurityMode.ifpossible applies. TLS is then negotiated only if the server advertises STARTTLS. Because the STARTTLS feature is advertised in the cleartext stream-features stanza, an on-path attacker can remove it, and the client silently continues without encryption. The configured credentials (or the SCRAM exchange) and all later message traffic are then sent in plaintext, which lets the attacker steal credentials and read and inject XMPP messages that the integration flow treats as legitimate. Applications are affected if they use XmppConnectionFactoryBean to create the XMPP connection, rather than supplying their own XMPPTCPConnectionConfiguration , and an attacker can actively interpose on the network path to the XMPP server.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

