Spring Integration XMPP Connection Factory Allows STARTTLS Stripping Due to Insecure Default Security Mode
CVE-2026-59405Published 2 Dec 2026, 07:11 UTC
Real-world risk
0.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.2
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Spring IntegrationNiche | >= 7.1.0, < 7.1.2.1; >= 7.0.0, < 7.0.7.1; >= 6.5.0, < 6.5.12; >= 6.4.0, < 6.4.14; < 5.5.23; >= 7.1.0, < 7.1.3; >= 7.0.0, < 7.0.8 | 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8 |
What to do
Update to a fixed version: 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.090
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.09 × threat 0.850.230
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
No weakness type given.