Vulnerability · Published Sep 27, 2020 · Assigned by mitre
CVE-2020-25814
Medium 6.1
In plain English
A medium-severity security flaw in the mediawiki package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25814 |
| Debian:13 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25814 |
| Debian:14 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25814 |
| Packagist | mediawiki/core | 1.31.9 | GHSA-4vr7-m8p8-434h |
| Packagist | mediawiki/core | 1.34.3 | GHSA-4vr7-m8p8-434h |
| Packagist | mediawiki/core | 1.35.0 | GHSA-4vr7-m8p8-434h |
Affected products (as reported)
References
- https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#mediawiki.jqueryMsg x_refsource_MISC
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048480.html x_refsource_CONFIRM
- https://lists.wikimedia.org/pipermail/mediawiki-l/2020-September/048488.html x_refsource_MISC
- FEDORA-2020-a4802c53d9 vendor-advisory, x_refsource_FEDORA