{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d"
            }
          ],
          "repo": "https://github.com/miraheze/globalnewfiles",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-57p5-hqjq-h7vg"
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:miraheze:globalnewfiles:*:*:*:*:*:mediawiki:*:*"
        ],
        "extracted_events": [
          {
            "fixed": "2021-09-01"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "miraheze:globalnewfiles"
      }
    ]
  },
  "details": "GlobalNewFiles is a MediaWiki extension maintained by Miraheze. Prior to commit number cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d, the username column of the GlobalNewFiles special page is vulnerable to a stored XSS. Commit number cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d contains a patch. As a workaround, one may disallow \u003c,\u003e (or other characters required to insert html/js) from being used in account names so an XSS is not possible.",
  "id": "CVE-2021-39186",
  "modified": "2026-07-08T05:36:20.485446858Z",
  "published": "2021-09-01T21:15:07.263Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg"
    },
    {
      "type": "FIX",
      "url": "https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d"
    },
    {
      "type": "EVIDENCE",
      "url": "https://phabricator.miraheze.org/T7935"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}