Apache Camel's camel-xmpp component prior to version 4.24.0 contains a vulnerability where its endpoint cache does not distinguish between different users or chat participants. This can cause messages to be delivered to the wrong participant or sent using incorrect account credentials. The issue is fixed by removing the component-level endpoint cache so that each distinct endpoint URI has its own endpoint. The fix is included in Apache Camel versions 4.24.0, 4.22.3, and 4.18.6.