Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1000078

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute that can result in XSS. This attack appear to be exploitable via the victim must browse to a malicious gem on a vulnerable gem server. This vulnerability appears to have been fixed in 2.7.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1000078
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:20 UTC · Revision 1

Source evidence

CVE-2018-1000078

core-osv · Original source

Published 13 Mar 2018, 15:29 UTC

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute that can result in XSS. This attack appear to be exploitable via the victim must browse to a malicious gem on a vulnerable gem server. This vulnerability appears to have been fixed in 2.7.6.

osv:CVE-2018-1000078
Complete source record
{
  "id": "0e2976fd7909c5862358d3120e1c256283e82e8272cb70a9db9e4632d5d9bba3",
  "url": "https://osv.dev/vulnerability/CVE-2018-1000078",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1000078",
    "summary": "RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute that can result in XSS. This attack appear to be exploitable via the victim must browse to a malicious gem on a vulnerable gem server. This vulnerability appears to have been fixed in 2.7.6.",
    "evidence": "osv:CVE-2018-1000078",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1000078",
      "aliases": [
        "CVE-2018-1000078",
        "GHSA-87qx-g5wg-mwmj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ruby/rubygems",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "30e740c073e954474b08aa05aaa951e9bb74791c"
                },
                {
                  "last_affected": "056f64c33a4f3783290b7c9c09d387213caf3c3d"
                },
                {
                  "last_affected": "744e413f556ead46aabc659408a99a4c318b6549"
                },
                {
                  "last_affected": "b6f3b5fac7ec01e5dcc57d6768a7e9b456feaea8"
                },
                {
                  "fixed": "66a28b9275551384fdab45f3591a82d6b59952cb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.2.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.3.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "66a28b9275551384fdab45f3591a82d6b59952cb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0.rc.1",
            "v2.2.0.preview.1",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.1.0.rc.2",
            "v2.1.0.rc.1",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0.rc.2",
            "v2.0.0.rc.1",
            "v2.0.0.preview2.2",
            "v2.0.0.preview2.1",
            "v2.0.0.preview2",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000078.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:14.241613688Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html",
        "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html",
        "https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html",
        "https://usn.ubuntu.com/3621-1/",
        "https://access.redhat.com/errata/RHSA-2018:3729",
        "https://access.redhat.com/errata/RHSA-2018:3730",
        "https://access.redhat.com/errata/RHSA-2018:3731",
        "https://access.redhat.com/errata/RHSA-2019:2028",
        "https://access.redhat.com/errata/RHSA-2020:0542",
        "https://access.redhat.com/errata/RHSA-2020:0591",
        "https://access.redhat.com/errata/RHSA-2020:0663",
        "https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html",
        "https://lists.debian.org/debian-lts-announce/2018/04/msg00001.html",
        "https://www.debian.org/security/2018/dsa-4219",
        "https://www.debian.org/security/2018/dsa-4259",
        "https://github.com/rubygems/rubygems/commit/66a28b9275551384fdab45f3591a82d6b59952cb"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1000078",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381430,
  "published_at": "2018-03-13T15:29:00.723+00:00"
}