4.3medium
Improper Input Validation in GlobalNewFiles
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.01% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| miraheze GlobalNewFiles | < cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d, before 2021-09-01 | CVE List, NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
GlobalNewFiles es una extensión de MediaWiki mantenida por Miraheze. Antes del commit número cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d, la columna de nombre de usuario de la página especial GlobalNewFiles es vulnerable a un ataque de tipo XSS almacenado. El número de confirmación cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d contiene un parche. Como solución, se puede deshabilitar el uso de <,> (u otros caracteres necesarios para insertar html/js) en los nombres de las cuentas para que no sea posible un XSS.
References
| https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg | third-party-advisory | |
| https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d | patch, third-party-advisory | |
| https://phabricator.miraheze.org/T7935 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39186 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-39186 changed 2026-06-17 | Public domain |