CVE-2020-25814
mediumpriority · track · 24EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-4vr7-m8p8-434hMediaWiki Cross-site Scripting (XSS) vulnerability2022-05-24ghsa · osvUS
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.
- BIT-mediawiki-2020-258142024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/cnnvd
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.htmlcnnvd
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-25814cnnvd
- https://vigilance.fr/vulnerability/MediaWiki-multiple-vulnerabilities-33427cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.3319/cnnvd
- https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsgcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RTTPZ7XMDS66I442OLLHXBDNP2LCBJU6/enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan