CVE-2014-0157: Horizon Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-cmg8-5c63-pg95
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2014-0157
GHSA Identifier GHSA-cmg8-5c63-pg95
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Horizon
Package Ecosystem PyPI
Published Date
Last Updated

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.

horizon fixed: 2013.2.4
pip install horizon>=2013.2.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2014-0157 Affected Horizon Versions

1 component(s)
Fixed Versions:
2013.2.4
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?
CVE-2014-0157 is a security vulnerability in Horizon involving OpenStack Dashboard (aka Horizon) vulnerable to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Horizon versions are affected?
Affected versions include releases prior to 2013.2.4 across affected packages: horizon.
What version fixes CVE-2014-0157?
Upgrading to 2013.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is horizon affected?
Yes, horizon is affected in releases prior to 2013.2.4. Upgrade your dependency to 2013.2.4 or later.
What CWE is associated with CVE-2014-0157?
CVE-2014-0157 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check PyPI dependencies for CVE-2014-0157?
Run the dependency tree command: 'pip show horizon'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}