Cross-site Scripting (XSS) Affecting mediawiki package, versions <1:1.35.0-1


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.1% (42nd percentile)
Expand this section
NVD
6.1 medium
Expand this section
Red Hat
6.1 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN11-MEDIAWIKI-1012655
  • published 25 Sep 2020
  • disclosed 27 Sep 2020

How to fix?

Upgrade Debian:11 mediawiki to version 1:1.35.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mediawiki package and not the mediawiki package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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