{"id":"CVE-2021-39186","published":"2021-09-01T20:35:12Z","modified":"2024-08-04T01:58:18Z","title":"Improper Input Validation in GlobalNewFiles","vendor":"miraheze","product":"GlobalNewFiles","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01006,"percentile":0.61937,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/miraheze/GlobalNewFiles/security/advisories/GHSA-57p5-hqjq-h7vg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d","tags":["x_refsource_MISC"]},{"url":"https://phabricator.miraheze.org/T7935","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":12.39},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"miraheze","affectedVersions":[{"vendor":"miraheze","product":"GlobalNewFiles","versions":["< cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d"]}],"euvd":{"id":"EUVD-2021-25576","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-miraheze-globalnewfiles-cve-2021-32722","parents":[{"from":"CVE-2021-32722","to":"CVE-2021-39186","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["extension.json","includes/GlobalNewFilesHooks.php"],"commits":["https://github.com/miraheze/GlobalNewFiles/commit/48be7adb70568e20e961ea1cb70904454a671b1d","https://github.com/miraheze/GlobalNewFiles/commit/cee254e1b158cdb0ddbea716b1d3edc31fa4fb5d"],"basis":"rarely changed file"}]}]}}