medium4.3
CVE-2021-39186
GlobalNewFiles is a MediaWiki extension maintained by Miraheze.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Miraheze | Globalnewfiles | before 2021-09-01 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d
- https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg
- https://phabricator.miraheze.org/T7935
- https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d
- https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg
- https://phabricator.miraheze.org/T7935