Skip to main content
← All vulnerabilities
CVE-2020-25828GHSA-H8QX-MJ6V-2934BIT-MEDIAWIKI-2020-25828

An issue was discovered in MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.31.9, 1.34.3, 1.35.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.)

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • mediawiki/corePackagist

    From 1.31.0 · fixed in 1.31.9

  • mediawiki/corePackagist

    From 1.32.0 · fixed in 1.34.3

  • mediawiki/corePackagist

    From 1.35.0-rc.0 · fixed in 1.35.0

References 4

lists.wikimedia.org

lists.fedoraproject.org