{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2018-07-18"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "79af9c175f79165d5e1b14b84d739ac2bcef4171"
            },
            {
              "fixed": "5b144559fbdba7ff673cc1c165aa2d343e07b6bd"
            }
          ],
          "repo": "https://github.com/edx/edx-platform",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "edx-platform before 2018-07-18 allows XSS via a response to a Chemical Equation advanced problem.",
  "id": "CVE-2018-20859",
  "modified": "2026-03-14T13:45:33.172175240Z",
  "published": "2019-07-30T19:15:12.967Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://groups.google.com/forum/#%21topic/openedx-announce/wsm5mtUhhME"
    },
    {
      "type": "FIX",
      "url": "https://github.com/edx/edx-platform/commit/5b144559fbdba7ff673cc1c165aa2d343e07b6bd.patch"
    },
    {
      "type": "FIX",
      "url": "https://patch-diff.githubusercontent.com/raw/edx/edx-platform/pull/18639.patch"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}