CVE-2020-25814
MediaWiki Cross-site Scripting (XSS) vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2020-25814- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-25814- Updated
- 2026-11-02
EUVDEUVD-2022-2452 No score
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.
- Record
EUVD-2022-2452- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4vr7-m8p8-434h
6.1
MediaWiki Cross-site Scripting (XSS) vulnerability
In MediaWiki before 1.31.9 and 1.32.x through 1.34.x before 1.34.3, 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.
- Record
GHSA-4vr7-m8p8-434h- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2020-25814- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-25814
6.1
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.
- Record
DEBIAN-CVE-2020-25814- 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 - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-4vr7-m8p8-434h
6.1
MediaWiki Cross-site Scripting (XSS) vulnerability
In MediaWiki before 1.31.9 and 1.32.x through 1.34.x before 1.34.3, 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.
- Record
GHSA-4vr7-m8p8-434h- 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 - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-25814
6.1
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.
- Record
UBUNTU-CVE-2020-25814- 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 - Updated
- 2026-11-02
OSVBIT-mediawiki-2020-25814 No score
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.
- Record
BIT-mediawiki-2020-25814- Updated
- 2026-11-02
OSVMGASA-2020-0381 No score
Updated mediawiki packages fix security vulnerability
Multiple security issues were discovered in MediaWiki: SpecialUserRights could leak whether a user existed or not, multiple code paths lacked HTML sanitisation allowing for cross-site scripting and TOTP validation applied insufficient rate limiting against brute force attempts (CVE-2020-25812, CVE-2020-25813, CVE-2020-25814, CVE-2020-25815, CVE-2020-25827, CVE-2020-25828).
Possible issues with actors not being loaded from the correct database or wiki (CVE-2020-25869).
- Record
MGASA-2020-0381- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mediawiki/corePackagist |
1.31.0 up to 1.31.9 | 1.31.9 |
mediawiki/corePackagist |
1.32.0 up to 1.34.3 | 1.34.3 |
mediawiki/corePackagist |
1.35.0-rc.0 up to 1.35.0 | 1.35.0 |
mediawikiBitnami |
before 1.31.10, 1.32.0 up to 1.34.4 | 1.31.101.34.4 |
mediawikiDebian:12 |
before 1:1.35.0-1 | 1:1.35.0-1 |
mediawikiDebian:13 |
before 1:1.35.0-1 | 1:1.35.0-1 |
mediawikiDebian:14 |
before 1:1.35.0-1 | 1:1.35.0-1 |
mediawikiDebian:9 From an advisory covering 4 CVEs |
before 1:1.27.7-1~deb9u4, plus listed versions 1:1.27.3-11:1.27.4-11:1.27.4-1~bpo8+11:1.27.4-1~deb9u11:1.27.4-2 Show 6 moreShow less1:1.27.4-31:1.27.5-1~deb9u11:1.27.6-1~deb9u11:1.27.7-1~deb9u11:1.27.7-1~deb9u21:1.27.7-1~deb9u3 |
1:1.27.7-1~deb9u4 |
mediawikiDebian:10 From an advisory covering 8 CVEs |
before 1:1.31.10-1~deb10u1, plus listed versions 1:1.31.2-11:1.31.4-11:1.31.4-1~deb10u11:1.31.5-11:1.31.5-2 Show 6 moreShow less1:1.31.5-31:1.31.6-11:1.31.6-1~deb10u11:1.31.7-11:1.31.7-1~deb10u11:1.31.8-1 |
1:1.31.10-1~deb10u1 |
mediawiki/corePackagist |
1.31.0 up to 1.31.9, plus listed versions 1.31.11.31.21.31.31.31.41.31.51.31.61.31.71.31.8 |
1.31.9 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mediawiki/corePackagist |
1.32.0 up to 1.34.3, plus listed versions 1.32.11.32.21.32.31.32.41.32.5 Show 12 moreShow less1.32.61.33.01.33.0-rc.01.33.11.33.21.33.31.33.41.34.01.34.0-rc.01.34.0-rc.11.34.11.34.2 |
1.34.3 |
mediawiki/corePackagist |
1.35.0-rc.0 up to 1.35.0, plus listed versions 1.35.0-rc.11.35.0-rc.21.35.0-rc.3 |
1.35.0 |
mediawikiMageia:7 From an advisory covering 7 CVEs |
before 1.31.10-1.mga7 | 1.31.10-1.mga7 |
mediawikiUbuntu:18.04:LTS |
All versions, plus listed versions 1:1.27.3-11:1.27.4-11:1.27.4-21:1.27.4-3 |
None known |
mediawikiUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1:1.31.2-1ubuntu11:1.31.5-11:1.31.5-1ubuntu11:1.31.5-21:1.31.5-3 Show 4 moreShow less1:1.31.5-3ubuntu11:1.31.6-11:1.31.7-11:1.31.7-1ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-25814 is a medium vulnerability (CVSS 6.1) in Mediawiki, published September 25, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.35%, the 71st percentile. Fixed in mediawiki/core 1.31.9.
References
mediawiki.org/wiki/ResourceLoader/Core_modules
lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html
lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6
nvd.nist.gov/vuln/detail/CVE-2020-25814
github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2020-25814.yaml
Show 13 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6
phabricator.wikimedia.org/T86738
github.com/advisories/GHSA-4vr7-m8p8-434h
security-tracker.debian.org/tracker/CVE-2020-25814
github.com/wikimedia/mediawiki
advisories.mageia.org/MGASA-2020-0381.html
bugs.mageia.org/show_bug.cgi?id=27331
lists.wikimedia.org/pipermail/mediawiki-announce/2020-September/000260.html
lists.wikimedia.org/pipermail/mediawiki-announce/2020-September/000262.html
debian.org/security/2020/dsa-4767
ubuntu.com/security/CVE-2020-25814
lists.wikimedia.org/pipermail/wikitech-l/2020-September/093888.html
cve.org/CVERecord?id=CVE-2020-25814