CVE-2018-1000516: Galaxy app Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-qqr6-vm23-m488
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-2018-1000516 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Galaxy app libraries in the PyPI ecosystem. The issue involves galaxy cross-site scripting (xss). Remediation is available by upgrading affected packages to version 14.10.1, 15.01.

CVE-2018-1000516 at a Glance

CVE Identifier CVE-2018-1000516
GHSA Identifier GHSA-qqr6-vm23-m488
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Galaxy app
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2018-1000516

To remediate this vulnerability, upgrade all affected Galaxy app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

galaxy-app fixed: 14.10.1
pip install galaxy-app>=14.10.1
galaxy-app fixed: 15.01
pip install galaxy-app>=15.01
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 galaxy-app

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2018-1000516, inspect your installed packages using pip:

pip show galaxy-app

Analyze the terminal output to locate any version of Galaxy app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.10.1), your application is affected.

Note: The pip show galaxy-app 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 Galaxy app, 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

The Galaxy Project Galaxy version v14.10 contains a CWE-79: Improper Neutralization of Input During Web Page Generation vulnerability in Many templates used in the Galaxy server did not properly sanitize user's input, which would allow for cross-site scripting (XSS) attacks. In this form of attack, a malicious person can create a URL which, when opened by a Galaxy user or administrator, would allow the malicious user to execute arbitrary Javascript. that can result in Arbitrary JavaScript code execution. This attack appear to be exploitable via The victim must interact with component on page witch contains injected JavaScript code.. This vulnerability appears to have been fixed in v14.10.1, v15.01.

CVE-2018-1000516 Affected Galaxy app Versions

2 component(s)
Fixed Versions:
14.10.115.01
Product / Package Ecosystem Affected Versions Fixed Version
galaxy-app
PyPI
< 14.10.1
14.10.1
galaxy-app
PyPI
≥ 15.0
< 15.01
15.01

References

Frequently Asked Questions

What is CVE-2018-1000516?
CVE-2018-1000516 is a security vulnerability in Galaxy app involving Galaxy cross-site scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Galaxy app versions are affected?
Affected versions include releases prior to 14.10.1, 15.01 across affected packages: galaxy-app.
What version fixes CVE-2018-1000516?
Upgrading to 14.10.1, 15.01 (or the latest patched release for your respective branch) resolves the vulnerability.
Is galaxy-app affected?
Yes, galaxy-app is affected in releases prior to 14.10.1, 15.01. Upgrade your dependency to 14.10.1, 15.01 or later.
What is the CVSS score of CVE-2018-1000516?
CVE-2018-1000516 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2018-1000516?
CVE-2018-1000516 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-2018-1000516?
Run the dependency tree command: 'pip show galaxy-app'. 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-qqr6-vm23-m488",
  "modified" : "2024-11-26T18:15:25Z",
  "published" : "2022-05-14T03:02:50Z",
  "aliases" : [ "CVE-2018-1000516" ],
  "summary" : "Galaxy cross-site scripting (XSS)",
  "details" : "The Galaxy Project Galaxy version v14.10 contains a CWE-79: Improper Neutralization of Input During Web Page Generation vulnerability in Many templates used in the Galaxy server did not properly sanitize user's input, which would allow for cross-site scripting (XSS) attacks. In this form of attack, a malicious person can create a URL which, when opened by a Galaxy user or administrator, would allow the malicious user to execute arbitrary Javascript. that can result in Arbitrary JavaScript code execution. This attack appear to be exploitable via The victim must interact with component on page witch contains injected JavaScript code.. This vulnerability appears to have been fixed in v14.10.1, v15.01.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "galaxy-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.10.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "galaxy-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0"
      }, {
        "fixed" : "15.01"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000516"
  }, {
    "type" : "WEB",
    "url" : "https://galaxyproject.org/archive/dev-news-briefs/2015-01-13/#security"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/galaxyproject/galaxy"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/galaxy-app/PYSEC-2018-149.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-22T20:15:21Z",
    "nvd_published_at" : "2018-06-26T16:29:00Z"
  }
}