Cross-site Scripting (XSS) Affecting mediawiki package, versions <1:1.27.7-1~deb9u7


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.21% (59th 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-DEBIAN9-MEDIAWIKI-1052812
  • published 18 Dec 2020
  • disclosed 18 Dec 2020

How to fix?

Upgrade Debian:9 mediawiki to version 1:1.27.7-1~deb9u7 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:9 relevant fixed versions and status.

MediaWiki before 1.35.1 allows XSS via BlockLogFormatter.php. Language::translateBlockExpiry itself does not escape in all code paths. For example, the return of Language::userTimeAndDate is is always unsafe for HTML in a month value. This affects MediaWiki 1.12.0 and later.