freenode

← CVE tracker

CVE-2026-59405

Spring Integration XMPP Connection Factory Allows STARTTLS Stripping Due to Insecure Default Security Mode

Severity
low CVSS 2.2 (v3.1)
Affects
Spring Integration · Spring
Published
2 December 2026 by vmware
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.