CVE-2021-39186
JSON

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 packageVersionsReported by
miraheze GlobalNewFiles< cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d, before 2021-09-01CVE List, NVD

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV: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 &lt;,&gt; (u otros caracteres necesarios para insertar html/js) en los nombres de las cuentas para que no sea posible un XSS.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39186 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-39186 changed 2026-06-17Public domain