An origin validation error vulnerability exists in the Apache Camel CometD component affecting versions from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, and from 4.23.0 before 4.24.0. The issue arises because CometD's BayeuxServer enables the legacy JSONP transport by default without restriction, allowing cross-origin web pages to issue GET requests with ambient credentials and read callback responses. This vulnerability is fixed in Apache Camel versions 4.18.6, 4.22.3, and 4.24.0 by restricting allowed transports to "websocket,long-polling" by default or allowing explicit configuration.