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.
References
Link | Resource |
---|---|
https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg | Third Party Advisory |
https://phabricator.miraheze.org/T7935 | Exploit Third Party Advisory |
https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d | Patch Third Party Advisory |
Configurations
Information
Published : 2021-09-01 14:15
Updated : 2021-09-10 12:34
NVD link : CVE-2021-39186
Mitre link : CVE-2021-39186
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
miraheze
- globalnewfiles