CVE-2022-24968Mellium Xmpp
Medium 5.9 No auth needed
Follow: this CVE · Mellium · Mellium Xmpp We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- No
- Published
- Feb 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
In Mellium mellium.im/xmpp through 0.21.0, an attacker capable of spoofing DNS TXT records can redirect a WebSocket connection request to a server under their control without causing TLS certificate verification to fail. This occurs because the wrong host name is selected during this verification.
What to do
- Apply the vendor's security update for Xmpp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | mellium.im/xmpp |
≥ 0.18.0 < 0.21.1 |
0.21.1 |
go get mellium.im/xmpp@v0.21.1 |
| Go | mellium.im/xmpp |
≥ 0.18.0 < 0.21.1 |
0.21.1 |
go get mellium.im/xmpp@v0.21.1 |
Per OSV / GitHub Advisories (GHSA-h289-x5wc-xcv8, GO-2022-0370). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mellium | xmpp | ≥ 0.18.0 < 0.21.1 |
Official sources
References
Links published by the sources. Open them with care.
- mellium.im Vendor Advisory
- mellium.im Product Vendor Advisory