{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.activemq:activemq-web-console. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-8006 exists.","fix":"Upgrade org.apache.activemq:activemq-web-console to 5.15.6 or later.","what":"CVE-2018-8006 is a medium-severity cross-site scripting vulnerability in Apache Activemq, published on 10 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-8006 and fix it if it is affected.\n\nWhat it is: CVE-2018-8006 is a medium-severity cross-site scripting vulnerability in Apache Activemq, published on 10 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-8006 exists.\n\nAffected packages and fixed versions:\n- org.apache.activemq:activemq-web-console (Maven): affected from 5.0.0; fixed in 5.15.6\n- org.apache.activemq:activemq-web-console (Maven): affected from 5.0.0; fixed in 5.15.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-8006/ (Markdown: https://insights.sbomify.com/CVE-2018-8006/index.md)","id":"CVE-2018-8006","markdown":"https://insights.sbomify.com/CVE-2018-8006/index.md","name":"CVE-2018-8006","record":{"aliases":["DEBIAN-CVE-2018-8006","GHSA-hvwm-2624-rp9x","UBUNTU-CVE-2018-8006"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache ActiveMQ","requires_auth":"none","summary":"Cross-site scripting in the ActiveMQ web console allows attackers to execute scripts in victim browsers via the QueueFilter parameter.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"activemq","vendor":"apache"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"An instance of a cross-site scripting vulnerability was identified to be present in the web based administration console on the queue.jsp page of Apache ActiveMQ versions 5.0.0 to 5.15.5. The root cause of this issue is improper data filtering of the QueueFilter parameter.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-8006.yaml","stars":null,"title":"Apache ActiveMQ \u003c=5.15.5 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache ActiveMQ web console vulnerable to Cross-site Scripting","id":"CVE-2018-8006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"apache:activemq","products":["apache:activemq"],"type":"xss","year":"2018"},"n_packages":2,"n_references":10,"next":{"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2018-8007"},"packages":[{"ecosystem":"Maven","fixed":["5.15.6"],"introduced":["5.0.0"],"last_affected":[],"package":"org.apache.activemq:activemq-web-console","purl":null,"source":"GHSA-hvwm-2624-rp9x"},{"ecosystem":"Maven","fixed":["5.15.6"],"introduced":["5.0.0"],"last_affected":[],"package":"org.apache.activemq:activemq-web-console","purl":"pkg:maven/org.apache.activemq/activemq-web-console","source":"GHSA-hvwm-2624-rp9x"}],"prev":{"headline":"Denial of service in Apache Traffic Server","id":"CVE-2018-8005"},"products":["Apache ActiveMQ"],"published":"2018-10-10","related":[{"cvss_score":10,"headline":"Apache ActiveMQ Deserialization of Untrusted Data","id":"CVE-2023-46604","kev_date_added":"2023-11-02","published":"2023-10-27"},{"cvss_score":9.8,"headline":"Apache ActiveMQ Improper Input Validation","id":"CVE-2016-3088","kev_date_added":"2022-02-10","published":"2016-06-01"},{"cvss_score":8.8,"headline":"Apache ActiveMQ Improper Input Validation","id":"CVE-2026-34197","kev_date_added":"2026-04-16","published":"2026-04-07"},{"cvss_score":9.8,"headline":"Remote code execution in Apache ActiveMQ","id":"CVE-2020-11998","kev_date_added":null,"published":"2020-09-10"},{"cvss_score":9.8,"headline":"Command Injection in Xstream","id":"CVE-2013-7285","kev_date_added":null,"published":"2019-05-15"},{"cvss_score":9.8,"headline":"Improper Restriction of XML External Entity Reference in Apache ActiveMQ","id":"CVE-2014-3600","kev_date_added":null,"published":"2017-10-27"},{"cvss_score":9.8,"headline":"Improper Input Validation in Apache ActiveMQ","id":"CVE-2015-5254","kev_date_added":null,"published":"2016-01-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"Cross-site scripting in the ActiveMQ web console allows attackers to execute scripts in victim browsers via the QueueFilter parameter.","url":"https://insights.sbomify.com/CVE-2018-8006/"}