Description
Wikimedia MediaWiki 1.30.0 through 1.32.1 has XSS. Loading user JavaScript from a non-existent account allows anyone to create the account, and perform XSS on users loading that script. Fixed in 1.32.2, 1.31.2, 1.30.2 and 1.27.6.
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.31.2-1 | — |
| Debian 13 | mediawiki | 1:1.31.2-1 | — |
| Debian 12 | mediawiki | 1:1.31.2-1 | — |
| Debian 9 | mediawiki | 1:1.27.7-1~deb9u1 | DSA-4460-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mediawiki | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | mediawiki/core | >= 1.27.0, < 1.27.6 | 1.27.6 | GHSA-2rm7-xxx8-35jh |
| Packagist | mediawiki/core | >= 1.30.0, < 1.30.2 | 1.30.2 | GHSA-2rm7-xxx8-35jh |
| Packagist | mediawiki/core | >= 1.31.0, < 1.31.2 | 1.31.2 | GHSA-2rm7-xxx8-35jh |
Advisories 1
- DSA-4460-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026