# CVE-2020-25814: 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.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2020-09-27T20:29:44.000Z
- Modified: 2026-06-17T03:07:20.177Z
- Also known as: GHSA-4vr7-m8p8-434h, BIT-MEDIAWIKI-2020-25814
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.

(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: before 1.31.10; from 1.32.0 before 1.34.4
- fedoraproject fedora: 33
- mediawiki (Bitnami): before 1.31.10; 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://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg> (vendor-advisory, web)
- <https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html> (mailing-list, release-notes, vendor-advisory, web)
- <https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html> (mailing-list, release-notes, 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-25814> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25814.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/T86738> (web)

## Sources

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

---

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