Description
(1) ApiBlock.php, (2) ApiCreateAccount.php, (3) ApiLogin.php, (4) ApiMain.php, (5) ApiQueryDeletedrevs.php, (6) ApiTokens.php, and (7) ApiUnblock.php in includes/api/ in MediaWiki 1.19.x before 1.19.8, 1.20.x before 1.20.7, and 1.21.x before 1.21.2 allow remote attackers to obtain CSRF tokens and bypass the cross-site request forgery (CSRF) protection mechanism via a JSONP request to wiki/api.php.
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.19.8+dfsg-1 | — |
| Debian 13 | mediawiki | 1:1.19.8+dfsg-1 | — |
| Debian 12 | mediawiki | 1:1.19.8+dfsg-1 | — |
| Debian 7 | mediawiki | 1:1.19.5-1+deb7u1 | DSA-2753-1 |
| Debian 6.0 | mediawiki | 1:1.15.5-2squeeze6 | DSA-2753-1 |
Advisories 1
- DSA-2753-1 mediawiki - cross-site request forgery token disclosure Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20130904 Re: CVE request: MediaWiki Security Release: 1.21.2, 1.20.7 and 1.19.8 mailing-list
- mediawiki-cve20134302-info-disclosure(86896) vdb-entry
- DSA-2753 vendor-advisory
- 54715 third-party-advisory
- [MediaWiki-announce] 20130903 MediaWiki Security Release: 1.21.2, 1.20.7 and 1.19.8 mailing-list
- 96912 vdb-entry
- https://www.mediawiki.org/wiki/Release_notes/1.19
- https://www.mediawiki.org/wiki/Release_notes/1.20
- https://bugzilla.wikimedia.org/show_bug.cgi?id=49090
- https://www.mediawiki.org/wiki/Release_notes/1.21