{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.activemq:activemq-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-6092 in the wild and no public exploit code.","fix":"Upgrade org.apache.activemq:activemq-core to 5.8.0 or later.","what":"CVE-2012-6092 is a medium-severity cross-site scripting vulnerability in Apache Activemq, published on 21 Apr 2013. 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-2012-6092 and fix it if it is affected.\n\nWhat it is: CVE-2012-6092 is a medium-severity cross-site scripting vulnerability in Apache Activemq, published on 21 Apr 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-6092 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.activemq:activemq-core (Maven): affected all versions; fixed in 5.8.0\n- org.apache.activemq:activemq-core (Maven): affected all versions; fixed in 5.8.0\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-2012-6092/ (Markdown: https://insights.sbomify.com/CVE-2012-6092/index.md)","id":"CVE-2012-6092","markdown":"https://insights.sbomify.com/CVE-2012-6092/index.md","name":"CVE-2012-6092","record":{"aliases":["GHSA-rp9p-863f-9c4h"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache ActiveMQ","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script or HTML into Apache ActiveMQ web demos, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"activemq","vendor":"apache"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Multiple cross-site scripting (XSS) vulnerabilities in the web demos in Apache ActiveMQ before 5.8.0 allow remote attackers to inject arbitrary web script or HTML via (1) the refresh parameter to PortfolioPublishServlet.java (aka demo/portfolioPublish or Market Data Publisher), or vectors involving (2) debug logs or (3) subscribe messages in webapp/websocket/chat.js.  NOTE: AMQ-4124 is covered by CVE-2012-6551.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site Scripting in Apache ActiveMQ","id":"CVE-2012-6092","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"apache:activemq","products":["apache:activemq"],"type":"xss","year":"2012"},"n_packages":2,"n_references":6,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2012-6093"},"packages":[{"ecosystem":"Maven","fixed":["5.8.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.activemq:activemq-core","purl":null,"source":"GHSA-rp9p-863f-9c4h"},{"ecosystem":"Maven","fixed":["5.8.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.activemq:activemq-core","purl":"pkg:maven/org.apache.activemq/activemq-core","source":"GHSA-rp9p-863f-9c4h"}],"prev":{"headline":"Information disclosure in Magento","id":"CVE-2012-6091"},"products":["n/a"],"published":"2013-04-21","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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script or HTML into Apache ActiveMQ web demos, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2012-6092/"}