Skip to content
OpenAdvisories
Unscored CVE-2014-2242 EUVD-2014-2281GHSA-xvhv-fm6p-g8q4

includes/upload/UploadBase.php in MediaWiki before 1.19.12, 1.20.x and 1.21.x before 1.21.6, and 1.22.x before 1.22.3 does not prevent use …

Published Mar 2, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

includes/upload/UploadBase.php in MediaWiki before 1.19.12, 1.20.x and 1.21.x before 1.21.6, and 1.22.x before 1.22.3 does not prevent use of invalid namespaces in SVG files, which allows remote attackers to conduct cross-site scripting (XSS) attacks via an SVG upload, as demonstrated by use of a W3C XHTML namespace in conjunction with an IFRAME element.

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.

ReleasePackageFixed inAdvisory
Debian 14 mediawiki 1:1.19.12+dfsg-1 —
Debian 13 mediawiki 1:1.19.12+dfsg-1 —
Debian 12 mediawiki 1:1.19.12+dfsg-1 —

References