# CVE-2020-27957: The RandomGameUnit extension for MediaWiki through 1.35 was not properly escaping various title-related data.

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-10-28T02:29:54.000Z
- Modified: 2026-06-17T03:09:56.410Z
- Also known as: BIT-MEDIAWIKI-2020-27957
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The RandomGameUnit extension for MediaWiki through 1.35 was not properly escaping various title-related data. When certain varieties of games were created within MediaWiki, their names or titles could be manipulated to generate stored XSS within the RandomGameUnit extension.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki mediawiki: up to 1.35
- mediawiki (Bitnami): before 1.35.1

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://phabricator.wikimedia.org/T266400> (exploit, vendor-advisory, web)
- <https://gerrit.wikimedia.org/r/q/I497d2076038f75c9eb77e0e250f2af56f5bd2bfc> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-27957> (web)

## Sources

- CVE List: [CVE-2020-27957](https://www.cve.org/CVERecord?id=CVE-2020-27957), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27957](https://nvd.nist.gov/vuln/detail/CVE-2020-27957), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MEDIAWIKI-2020-27957](https://osv.dev/vulnerability/BIT-MEDIAWIKI-2020-27957), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2020-27957 · Whole record: https://cve.day/CVE-2020-27957.json · Rebuilt by cve.day 2026-11-25T22:57:55.483Z
