Live threats

All CVEs / Mediawiki

CVE-2020-10960Mediawiki

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Apr 3, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

In MediaWiki before 1.34.1, users can add various Cascading Style Sheets (CSS) classes (which can affect what content is shown or hidden in the user interface) to arbitrary DOM nodes via HTML content within a MediaWiki page. This occurs because jquery.makeCollapsible allows applying an event handler to any Cascading Style Sheets (CSS) selector. There is no known way to exploit this for cross-site scripting (XSS).

Original NVD text.

What to do

  1. Apply the vendor's security update for Mediawiki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist mediawiki/core ≥ 1.31.0 < 1.31.7 1.31.7 composer require "mediawiki/core:^1.31.7"
Packagist mediawiki/core ≥ 1.33.0 < 1.33.3 1.33.3 composer require "mediawiki/core:^1.33.3"
Packagist mediawiki/core ≥ 1.34.0 < 1.34.1 1.34.1 composer require "mediawiki/core:^1.34.1"

Per OSV / GitHub Advisories (GHSA-pfm2-mqwj-ggm5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mediawikimediawiki< 1.34.1

Official sources

References

Links published by the sources. Open them with care.