CVE-2014-0157: Horizon Cross-Site Scripting Vulnerability
MODERATECVE-2014-0157 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Horizon libraries in the PyPI ecosystem. The issue involves openstack dashboard (aka horizon) vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 2013.2.4.
CVE-2014-0157 at a Glance
How to Fix CVE-2014-0157
To remediate this vulnerability, upgrade all affected Horizon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install horizon>=2013.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show horizon
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-0157, inspect your installed packages using pip:
pip show horizon
Analyze the terminal output to locate any version of Horizon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2013.2.4), your application is affected.
Note: The pip show horizon command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Horizon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-0157 Affected Horizon Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
horizon
|
PyPI |
≥ 2013.2
< 2013.2.4
|
2013.2.4
|
References
Frequently Asked Questions
What is CVE-2014-0157?
Which Horizon versions are affected?
What version fixes CVE-2014-0157?
Is horizon affected?
What CWE is associated with CVE-2014-0157?
How can I check PyPI dependencies for CVE-2014-0157?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cmg8-5c63-pg95",
"modified" : "2025-04-13T23:13:50Z",
"published" : "2022-05-14T02:09:21Z",
"aliases" : [ "CVE-2014-0157" ],
"summary" : "OpenStack Dashboard (aka Horizon) vulnerable to Cross-site Scripting",
"details" : "Cross-site scripting (XSS) vulnerability in the Horizon Orchestration dashboard in OpenStack Dashboard (aka Horizon) 2013.2 before 2013.2.4 and icehouse before icehouse-rc2 allows remote attackers to inject arbitrary web script or HTML via the description field of a Heat template.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "horizon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2013.2"
}, {
"fixed" : "2013.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0157"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2014:0581"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2014-0157"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1082858"
}, {
"type" : "WEB",
"url" : "https://launchpad.net/bugs/1289033"
}, {
"type" : "PACKAGE",
"url" : "https://opendev.org/openstack/horizon"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228185211/http://www.securityfocus.com/bid/66706"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2015-01/msg00040.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/04/08/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-08T18:04:43Z",
"nvd_published_at" : "2014-04-15T14:55:00Z"
}
}