Vulnerability · Published Sep 27, 2020 · Assigned by mitre
CVE-2020-25828
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.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4. The non-jqueryMsg version of mw.message().parse() doesn't escape HTML. This affects both message contents (which are generally safe) and the parameters (which can be based on user input). (When jqueryMsg is loaded, it correctly accepts only whitelisted tags in message contents, and escapes all parameters. Situations with an unloaded jqueryMsg are rare in practice, but can for example occur for Special:SpecialPages on a wiki with no extensions installed.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25828 |
| Debian:13 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25828 |
| Debian:14 | mediawiki | 1:1.35.0-1 | DEBIAN-CVE-2020-25828 |
| Packagist | mediawiki/core | 1.31.9 | GHSA-h8qx-mj6v-2934 |
| Packagist | mediawiki/core | 1.34.3 | GHSA-h8qx-mj6v-2934 |
| Packagist | mediawiki/core | 1.35.0 | GHSA-h8qx-mj6v-2934 |
Affected products (as reported)
References
- https://lists.wikimedia.org/pipermail/mediawiki-announce 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