Vulnerabilities · 2021 · Miraheze
CVE-2021-39186
Miraheze Globalnewfiles vulnerability
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 <,> (or other characters required to insert html/js) from being used in account names so an XSS is not possible.
Affected products
Globalnewfiles. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Miraheze Globalnewfiles runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d · Patch
- github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg · Third Party Advisory
- phabricator.miraheze.org/T7935 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-39186
- cve.org/CVERecord?id=CVE-2021-39186
More vulnerabilities in Miraheze products
CVE-2025-43861CVE-2025-32964CVE-2025-32956CVE-2024-47782CVE-2024-47781CVE-2024-29898CVE-2024-29883CVE-2024-25109All 14
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.