{"answers":{"affected":"2 open source packages ship an affected version, including horizon. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-2094 in the wild and no public exploit code.","fix":"Upgrade horizon to 8.0.0a0 or later.","what":"CVE-2012-2094 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jun 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-2094 and fix it if it is affected.\n\nWhat it is: CVE-2012-2094 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jun 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-2094 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- horizon (PyPI): affected all versions; fixed in 8.0.0a0\n- horizon (PyPI): affected all versions; fixed in 8.0.0a0\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-2094/ (Markdown: https://insights.sbomify.com/CVE-2012-2094/index.md)","id":"CVE-2012-2094","markdown":"https://insights.sbomify.com/CVE-2012-2094/index.md","name":"CVE-2012-2094","record":{"aliases":["DEBIAN-CVE-2012-2094","GHSA-j772-hpmw-32rm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Dashboard","requires_auth":"low_privilege","summary":"Remote attackers can inject arbitrary web script or HTML into the OpenStack Dashboard log viewer via the guest console, requiring user interaction to execute.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"horizon","vendor":"openstack"}],"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":"Cross-site scripting (XSS) vulnerability in the refresh mechanism in the log viewer in horizon/static/horizon/js/horizon.js in OpenStack Dashboard (Horizon) folsom-1 and 2012.1 and earlier allows remote attackers to inject arbitrary web script or HTML via the guest console.","ecosystems":["PyPI"],"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":"OpenStack Horizon Cross-site scripting (XSS) vulnerability","id":"CVE-2012-2094","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2012"},"n_packages":2,"n_references":9,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2012-2095"},"packages":[{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"horizon","purl":null,"source":"GHSA-j772-hpmw-32rm"},{"ecosystem":"PyPI","fixed":["8.0.0a0"],"introduced":["0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"GHSA-j772-hpmw-32rm"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2012-2093"},"products":["n/a"],"published":"2012-06-05","related":[{"cvss_score":6.8,"headline":"OpenStack Horizon Session Fixation","id":"CVE-2012-2144","kev_date_added":null,"published":"2012-06-05"},{"cvss_score":6.1,"headline":"Horizon Web Dashboard Open Redirect vulnerability","id":"CVE-2022-45582","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":6,"headline":"OpenStack Horizon RC file generation does not escape special characters in project names","id":"CVE-2026-55748","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":5.8,"headline":"Open redirect in n/a","id":"CVE-2012-3540","kev_date_added":null,"published":"2012-09-05"},{"cvss_score":5.5,"headline":"Auth bypass in n/a","id":"CVE-2013-4471","kev_date_added":null,"published":"2014-05-14"},{"cvss_score":5.3,"headline":"OpenStack Horizon has Incorrect Behavior Order","id":"CVE-2026-43002","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":4.8,"headline":"OpenStack Horizon Cross-site Scripting (XSS)","id":"CVE-2017-7400","kev_date_added":null,"published":"2017-04-03"}],"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 the OpenStack Dashboard log viewer via the guest console, requiring user interaction to execute.","url":"https://insights.sbomify.com/CVE-2012-2094/"}