CWE
79
Advisory Published
Updated

CVE-2015-2931: XSS

First published: Mon Apr 13 2015(Updated: )

Incomplete blacklist vulnerability in includes/upload/UploadBase.php in MediaWiki before 1.19.24, 1.2x before 1.23.9, and 1.24.x before 1.24.2 allows remote attackers to inject arbitrary web script or HTML via an application/xml MIME type for a nested SVG with a data: URI.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MediaWiki<=1.19.23
MediaWiki=1.20
MediaWiki=1.20.1
MediaWiki=1.20.2
MediaWiki=1.20.3
MediaWiki=1.20.4
MediaWiki=1.20.5
MediaWiki=1.20.6
MediaWiki=1.20.7
MediaWiki=1.20.8
MediaWiki=1.21
MediaWiki=1.21.1
MediaWiki=1.21.2
MediaWiki=1.21.3
MediaWiki=1.21.4
MediaWiki=1.21.5
MediaWiki=1.21.6
MediaWiki=1.21.7
MediaWiki=1.21.8
MediaWiki=1.21.9
MediaWiki=1.21.10
MediaWiki=1.21.11
MediaWiki=1.22.0
MediaWiki=1.22.1
MediaWiki=1.22.2
MediaWiki=1.22.3
MediaWiki=1.22.4
MediaWiki=1.22.5
MediaWiki=1.22.6
MediaWiki=1.22.7
MediaWiki=1.22.8
MediaWiki=1.22.9
MediaWiki=1.22.10
MediaWiki=1.22.11
MediaWiki=1.22.12
MediaWiki=1.22.13
MediaWiki=1.22.14
MediaWiki=1.22.15
MediaWiki=1.23.0
MediaWiki=1.23.1
MediaWiki=1.23.2
MediaWiki=1.23.3
MediaWiki=1.23.4
MediaWiki=1.23.5
MediaWiki=1.23.6
MediaWiki=1.23.7
MediaWiki=1.23.8
MediaWiki=1.24.0
MediaWiki=1.24.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-2931?

    CVE-2015-2931 is classified as a medium severity vulnerability.

  • How do I fix CVE-2015-2931?

    To mitigate CVE-2015-2931, upgrade your MediaWiki installation to version 1.19.24 or later, or 1.23.9 and later, or 1.24.2 and later.

  • What does CVE-2015-2931 affect?

    CVE-2015-2931 affects MediaWiki versions prior to 1.19.24, all of 1.20.x, and several versions of 1.21.x through 1.24.x.

  • What type of attack does CVE-2015-2931 enable?

    CVE-2015-2931 allows remote attackers to inject arbitrary web scripts or HTML via an application/xml MIME type for a nested SVG with a data URI.

  • Is there a workaround for CVE-2015-2931?

    The recommended workaround for CVE-2015-2931 is to apply the patches provided by the MediaWiki community or to upgrade to the latest version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203