What’s Vulnerable › Vulnerabilities

CVE-2021-39186: Improper Input Validation in GlobalNewFiles

Description

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

How to fix

Upgrade to a fixed version: miraheze GlobalNewFiles 2021-09-01. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-39186 or the next vulnerability affects your stack