{"id":"UBUNTU-CVE-2026-42253","details":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web. The MessageServlet in the ActiveMQ web console API copies every JMS message property into an HTTP response header without any validation. This can allow overwriting and injecting security headers by setting them on JMS messages that are returned by the servlet. This issue affects Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ Web: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue. The MessageServlet has now been deprecated and disabled by default.","modified":"2026-11-24T14:55:32.238914832Z","published":"2026-06-01T09:16:00Z","upstream":["CVE-2026-42253"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42253"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42253"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/05/31/17"},{"type":"REPORT","url":"https://lists.apache.org/thread/j9vmlc410ht5f28fc98gx75jcbq62j00"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/31/17"}],"affected":[{"package":{"name":"activemq","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.0+dfsg1-4+deb8u1ubuntu1","5.6.0+dfsg1-5","5.13.2+dfsg-2","5.13.2+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.13.2+dfsg-2ubuntu0.1~esm1"},{"binary_version":"5.13.2+dfsg-2ubuntu0.1~esm1","binary_name":"libactivemq-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.14.5-3","5.15.2-2","5.15.3-2","5.15.8-2~18.04","5.15.8-2~18.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.15.8-2~18.04.1~esm1"},{"binary_name":"libactivemq-java","binary_version":"5.15.8-2~18.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.10-1","5.15.11-1","5.15.11-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.15.11-1ubuntu0.1~esm1","binary_name":"activemq"},{"binary_name":"libactivemq-java","binary_version":"5.15.11-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.16.1-1","5.16.1-1ubuntu0.1~esm1","5.16.1-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.16.1-1ubuntu0.1"},{"binary_name":"libactivemq-java","binary_version":"5.16.1-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.17.2+dfsg-2","5.17.6+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.17.6+dfsg-1"},{"binary_name":"libactivemq-java","binary_version":"5.17.6+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.17.6+dfsg-1","5.17.6+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.17.6+dfsg-2"},{"binary_version":"5.17.6+dfsg-2","binary_name":"libactivemq-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.17.6+dfsg-2","5.17.6+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.17.6+dfsg-2ubuntu1"},{"binary_name":"libactivemq-java","binary_version":"5.17.6+dfsg-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}},{"package":{"name":"activemq","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/activemq?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.17.6+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"activemq","binary_version":"5.17.6+dfsg-2"},{"binary_version":"5.17.6+dfsg-2","binary_name":"libactivemq-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42253.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}