Mellium mellium.im/xmpp 0.0.1 through 0.21.4 allows response spoofing if the implementation uses predictable IDs because the stanza type is not checked. This is fixed in 0.22.0.
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.