Description
The wfMangleFlashPolicy function in OutputHandler.php in MediaWiki before 1.19.22, 1.20.x through 1.22.x before 1.22.14, and 1.23.x before 1.23.7 allows remote attackers to conduct PHP object injection attacks via a crafted string containing <cross-domain-policy> in a PHP format request, which causes the string length to change when converting the request to <NOT-cross-domain-policy>.
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.20+dfsg-2.1 | — |
| Debian 13 | mediawiki | 1:1.19.20+dfsg-2.1 | — |
| Debian 12 | mediawiki | 1:1.19.20+dfsg-2.1 | — |
| Debian 7 | mediawiki | 1:1.19.20+dfsg-0+deb7u2 | DSA-3100-1 |
Advisories 1
- DSA-3100-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 1031301 vdb-entry
- https://phabricator.wikimedia.org/T73478
- [oss-security] 20141203 MediaWiki security release - 1.23.7 mailing-list
- [oss-security] 20141204 Re: MediaWiki security release - 1.23.7 mailing-list
- DSA-3100 vendor-advisory
- [MediaWiki-announce] 20141127 MediaWiki Security and Maintenance Releases: 1.23.7, 1.22.14 and 1.19.22 mailing-list