Description
An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On Special:NewFiles, all the mediastatistics-header-* messages are output in HTML unescaped, leading to XSS.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mediawiki | 1:1.35.2-1 | — |
| Debian 13 | mediawiki | 1:1.35.2-1 | — |
| Debian 12 | mediawiki | 1:1.35.2-1 | — |
| Debian 10 | mediawiki | 1:1.31.14-1~deb10u1 | DSA-4889-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | mediawiki | No fix yet | — |
Advisories 1
- DSA-4889-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://phabricator.wikimedia.org/T278014
- DSA-4889 vendor-advisory
- FEDORA-2021-f4223b6684 vendor-advisory
- FEDORA-2021-d298103d3a vendor-advisory
- GLSA-202107-40 vendor-advisory