Description
The JSONP endpoint in includes/api/ApiFormatJson.php in MediaWiki before 1.19.18, 1.20.x through 1.22.x before 1.22.9, and 1.23.x before 1.23.2 accepts certain long callback values and does not restrict the initial bytes of a JSONP response, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks, and obtain sensitive information, via a crafted OBJECT element with SWF content consistent with a restricted character set.
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.18+dfsg-0.1 | — |
| Debian 13 | mediawiki | 1:1.19.18+dfsg-0.1 | — |
| Debian 12 | mediawiki | 1:1.19.18+dfsg-0.1 | — |
| Debian 7 | mediawiki | 1:1.19.18+dfsg-0+deb7u1 | DSA-3011-1 |
Advisories 1
- DSA-3011-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [MediaWiki-announce] 20140730 MediaWiki Security and Maintenance Releases: 1.19.18, 1.22.9 and 1.23.2 mailing-list
- DSA-3011 vendor-advisory
- MDVSA-2014:153 vendor-advisory
- 59738 third-party-advisory
- https://bugzilla.wikimedia.org/show_bug.cgi?id=68187
- [oss-security] 20140814 Re: Possible CVE Request: MediaWiki Security and Maintenance Releases: 1.19.18, 1.22.9 and 1.23.2 mailing-list
- http://advisories.mageia.org/MGASA-2014-0309.html