CVE-2017-7400 — horizon
MEDIUMCVE-2017-7400 is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in horizon. A fix is available for horizon — see the affected versions and patch details below.
OpenStack Horizon Cross-site Scripting (XSS)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
horizon🐍horizon🐍horizonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | horizon | ≥ 9.0&&< 9.1.2 | 9.1.2pip install --upgrade 'horizon==9.1.2' |
| 🐍PyPI | horizon | ≥ 10.0&&< 10.0.3 | 10.0.3pip install --upgrade 'horizon==10.0.3' |
| 🐍PyPI | horizon | ≥ 11.0.0&&< 11.0.1 | 11.0.1pip install --upgrade 'horizon==11.0.1' |
Affected Products
horizonopenstackDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for horizon, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update horizon to 9.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-7400 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenStack Platform 10.0 (Newton) | python-django-horizon-1:10.0.3-6.el7ost | RHSA-2017:1598 |
| Red Hat OpenStack Platform 9.0 (Mitaka) | python-django-horizon-1:9.0.1-13.el7ost | RHSA-2017:1739 |
Frequently Asked Questions
Is CVE-2017-7400 in your dependencies?
Find it across PyPI, including transitive dependencies.