{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "09685b8e0c50ae45ef43df60e3642064e6275734"
            }
          ],
          "repo": "https://github.com/keystonejs/keystone",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A cross-site scripting (XSS) vulnerability exists in fields/types/markdown/MarkdownType.js in KeystoneJS before 4.0.0-beta.7 via the Contact Us feature.",
  "id": "CVE-2017-15878",
  "modified": "2026-03-13T21:55:38.183621490Z",
  "published": "2017-10-24T21:29:00.517Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/101541"
    },
    {
      "type": "REPORT",
      "url": "http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/keystonejs/keystone/pull/4478"
    },
    {
      "type": "FIX",
      "url": "https://packetstormsecurity.com/files/144756/KeystoneJS-4.0.0-beta.5-Unauthenticated-Stored-Cross-Site-Scripting.html"
    },
    {
      "type": "FIX",
      "url": "https://www.exploit-db.com/exploits/43054/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}