CVE-2020-10960Mediawiki
Medium 5.3 No auth needed
Follow: this CVE · Mediawiki · Mediawiki We alert you by email or Slack (account required).
- 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).
What to do
- Apply the vendor's security update for Mediawiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mediawiki | mediawiki | < 1.34.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.wikimedia.org Mailing List Patch Vendor Advisory
- phabricator.wikimedia.org Exploit Vendor Advisory