{"id":"CVE-2021-39186","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.","aliases":["GHSA-57p5-hqjq-h7vg"],"modified":"2026-07-08T06:28:20.330697154Z","published":"2021-09-01T21:15:07.263Z","database_specific":{"unresolved_ranges":[{"source":"CPE_RANGE","vendor_product":"miraheze:globalnewfiles","cpes":["cpe:2.3:a:miraheze:globalnewfiles:*:*:*:*:*:mediawiki:*:*"],"extracted_events":[{"fixed":"2021-09-01"}]}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/miraheze/globalnewfiles","events":[{"introduced":"0"},{"fixed":"cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39186.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}