{"answers":{"affected":"7 open source packages ship an affected version, including horizon. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-7400 in the wild and no public exploit code.","fix":"Upgrade horizon to a fixed version for your release line: 10.0.3, 11.0.1 or 9.1.2.","what":"CVE-2017-7400 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Apr 2017. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2017-7400 and fix it if it is affected.\n\nWhat it is: CVE-2017-7400 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Apr 2017. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2017-7400 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- horizon (PyPI): affected from 10.0; fixed in 10.0.3\n- horizon (PyPI): affected from 10.0; fixed in 10.0.3\n- horizon (PyPI): affected from 11.0.0; fixed in 11.0.1\n- horizon (PyPI): affected from 11.0.0; fixed in 11.0.1\n- horizon (PyPI): affected from 9.0; fixed in 9.1.2, 10.0.3, 11.0.1\n- horizon (PyPI): affected from 9.0; fixed in 9.1.2\n- horizon (PyPI): affected from 9.0; fixed in 9.1.2\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-2017-7400/ (Markdown: https://insights.sbomify.com/CVE-2017-7400/index.md)","id":"CVE-2017-7400","markdown":"https://insights.sbomify.com/CVE-2017-7400/index.md","name":"CVE-2017-7400","record":{"aliases":["DEBIAN-CVE-2017-7400","GHSA-47vp-44v9-rhgq","PYSEC-2026-821","RHSA-2017:1598","RHSA-2017:1739"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Horizon","requires_auth":"high_privilege","summary":"Remote authenticated administrators can execute cross-site scripting attacks via crafted federation mappings in OpenStack Horizon.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"horizon","vendor":"openstack"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"OpenStack Horizon 9.x through 9.1.1, 10.x through 10.0.2, and 11.0.0 allows remote authenticated administrators to conduct XSS attacks via a crafted federation mapping.","ecosystems":["PyPI","Red Hat:openstack:10::el7","Red Hat:openstack:9::el7"],"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)","id":"CVE-2017-7400","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2017"},"n_packages":13,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2017-7401"},"packages":[{"ecosystem":"PyPI","fixed":["10.0.3"],"introduced":["10.0"],"last_affected":[],"package":"horizon","purl":null,"source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"PyPI","fixed":["10.0.3"],"introduced":["10.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"PyPI","fixed":["11.0.1"],"introduced":["11.0.0"],"last_affected":[],"package":"horizon","purl":null,"source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"PyPI","fixed":["11.0.1"],"introduced":["11.0.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"PyPI","fixed":["9.1.2","10.0.3","11.0.1"],"introduced":["9.0","10.0","11.0.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"PYSEC-2026-821"},{"ecosystem":"PyPI","fixed":["9.1.2"],"introduced":["9.0"],"last_affected":[],"package":"horizon","purl":null,"source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"PyPI","fixed":["9.1.2"],"introduced":["9.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"GHSA-47vp-44v9-rhgq"},{"ecosystem":"Red Hat:openstack:10::el7","fixed":["1:10.0.3-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-dashboard","purl":"pkg:rpm/redhat/openstack-dashboard","source":"RHSA-2017:1598"},{"ecosystem":"Red Hat:openstack:10::el7","fixed":["1:10.0.3-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-dashboard-theme","purl":"pkg:rpm/redhat/openstack-dashboard-theme","source":"RHSA-2017:1598"},{"ecosystem":"Red Hat:openstack:10::el7","fixed":["1:10.0.3-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-django-horizon","purl":"pkg:rpm/redhat/python-django-horizon","source":"RHSA-2017:1598"},{"ecosystem":"Red Hat:openstack:9::el7","fixed":["1:9.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-dashboard","purl":"pkg:rpm/redhat/openstack-dashboard","source":"RHSA-2017:1739"},{"ecosystem":"Red Hat:openstack:9::el7","fixed":["1:9.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-dashboard-theme","purl":"pkg:rpm/redhat/openstack-dashboard-theme","source":"RHSA-2017:1739"},{"ecosystem":"Red Hat:openstack:9::el7","fixed":["1:9.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-django-horizon","purl":"pkg:rpm/redhat/python-django-horizon","source":"RHSA-2017:1739"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2017-7399"},"products":["n/a"],"published":"2017-04-03","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"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-05","vendors":["n/a"]},"summary":"Remote authenticated administrators can execute cross-site scripting attacks via crafted federation mappings in OpenStack Horizon.","url":"https://insights.sbomify.com/CVE-2017-7400/"}