CVE-2020-25814
MediaWiki Cross-site Scripting (XSS) vulnerability
Reported by mitre · Published September 27, 2020
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mediawiki | mediawiki | 1.34.4, 1.31.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| mediawiki | core | 1.31.0, 1.32.0, 1.35.0-rc.0 |
| n/a | n/a | * |
Timeline
- Sep 27, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- May 17, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-25814
vulnetix vdb fixes CVE-2020-25814
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-25814/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- FEDORA-2020-a4802c53d9 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-25814 advisory
- https://github.com/advisories/GHSA-4vr7-m8p8-434h advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25814.yaml url
- https://github.com/wikimedia/mediawiki url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6 url
- https://phabricator.wikimedia.org/T86738 url