# CVE-2020-25828: MediaWiki Cross-site Scripting (XSS) vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 1.09%, higher than 66% of CVEs (2026-12-02)
- Published: 2020-09-27T20:31:44.000Z
- Modified: 2026-06-17T03:07:21.420Z
- Also known as: GHSA-h8qx-mj6v-2934, BIT-MEDIAWIKI-2020-25828
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. The non-jqueryMsg version of mw.message().parse() doesn't escape HTML. This affects both message contents (which are generally safe) and the parameters (which can be based on user input). (When jqueryMsg is loaded, it correctly accepts only whitelisted tags in message contents, and escapes all parameters. Situations with an unloaded jqueryMsg are rare in practice, but can for example occur for Special:SpecialPages on a wiki with no extensions installed.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki/core (Packagist): from 1.31.0 before 1.31.9; from 1.32.0 before 1.34.3; from 1.35.0-rc.0 before 1.35.0
- mediawiki mediawiki: from 1.32.0 before 1.34.4; 1.31.10
- fedoraproject fedora: 33
- mediawiki (Bitnami): from 1.31.10 before 1.31.11; from 1.32.0 before 1.34.4

## Every score

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

## References

- <https://lists.wikimedia.org/pipermail/mediawiki-announce> (vendor-advisory, web)
- <https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html> (mailing-list, vendor-advisory, web)
- <https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html> (mailing-list, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25828> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25828.yaml> (web)
- <https://github.com/wikimedia/mediawiki> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6> (web)
- <https://phabricator.wikimedia.org/T115888> (web)

## Sources

- CVE List: [CVE-2020-25828](https://www.cve.org/CVERecord?id=CVE-2020-25828), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-h8qx-mj6v-2934](https://github.com/advisories/GHSA-h8qx-mj6v-2934), CC-BY-4.0, modified 2024-05-19
- NVD: [CVE-2020-25828](https://nvd.nist.gov/vuln/detail/CVE-2020-25828), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MEDIAWIKI-2020-25828](https://osv.dev/vulnerability/BIT-MEDIAWIKI-2020-25828), Apache-2.0, modified 2025-04-03

---

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