{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.9.2"
              },
              {
                "introduced": "3.10.0"
              },
              {
                "fixed": "3.10.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6a2754376c8c8270be5e11e3fdab589659d0cc8d"
            },
            {
              "introduced": "8b83e9d4279718c8f9797c6a9c081245231cbba0"
            },
            {
              "fixed": "f06c5bef4d78966c60b153bbec6eea4ec0be9e68"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Mattermost Server before 4.0.0, 3.10.2, and 3.9.2. It allows XSS via an uploaded file.",
  "id": "CVE-2017-18904",
  "modified": "2026-03-13T21:54:36.965553952Z",
  "published": "2020-06-19T19:15:11.763Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}