{
  "schema_version": "1.4.0",
  "id": "GHSA-f599-5m7p-hcpf",
  "modified": "2023-03-01T01:34:41Z",
  "published": "2018-08-13T20:45:32Z",
  "aliases": [
    "CVE-2018-3769"
  ],
  "summary": "grape subject to Cross-site Scripting",
  "details": "The grape rubygem suffers from a cross-site scripting (XSS) vulnerability via \"format\" parameter.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "grape"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3769"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ruby-grape/grape/issues/1762"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ruby-grape/grape/pull/1763"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ruby-grape/grape/commit/6876b71efc7b03f7ce1be3f075eaa4e7e6de19af"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grape/CVE-2018-3769.yml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:33:43Z",
    "nvd_published_at": "2018-07-05T16:29:00Z"
  }
}