Security Update for MediaWiki

mediawiki Updated 02 Oct 2025

Summary

30/03/2014
N/A
Yes i
Unrated
Not published

DSA-2891-1: mediawiki - security update. Affects mediawiki versions < 1:1.19.14+dfsg-0+deb7u1. Fixed in 1:1.19.14+dfsg-0+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MediaWiki is a popular wiki engine used by numerous websites, including Wikipedia. It allows users to collaboratively create and edit content. However, several vulnerabilities have been discovered in MediaWiki, which could potentially be exploited by attackers to execute malicious code, inject JavaScript, perform cross-site scripting attacks, and more.

Vulnerability Detail

The vulnerabilities identified in MediaWiki include:

  1. Cross-site scripting attack via valid UTF-7 encoded sequences in an SVG file.
  2. Incomplete blacklist in the CSS sanitizer function, allowing the injection of JavaScript.
  3. Incorrect cache headers set when a user is autocreated, potentially exposing session cookies to other users.
  4. Uploading SVG files with external stylesheets, leading to XSS when an XSL is used to include JavaScript.
  5. Bypassing of SVG sanitization when the XML is considered invalid.
  6. Failure to filter -o-link attributes in CSS sanitization, enabling JavaScript execution in Opera 12.
  7. Displaying information about deleted pages in certain APIs and user interfaces.
  8. Remote code execution vulnerability when file upload support for DjVu or PDF files is enabled.
  9. Cross-site request forgery in the login form, allowing an attacker to log in as a victim.

How To Fix

Minimum fixed version

1:1.19.14+dfsg-0+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade mediawiki

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities. It is essential to apply the recommended fixes by upgrading the affected packages.

Conclusion

MediaWiki users should promptly upgrade their packages to address these vulnerabilities. Failure to do so may expose their websites to potential attacks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mediawiki →

Share this vulnerability

FAQ

MediaWiki is a wiki engine used by websites like Wikipedia to enable collaborative content creation and editing.

These vulnerabilities can be exploited by attackers to execute malicious code, inject JavaScript, perform cross-site scripting attacks, and more.

No specific workarounds are mentioned for these vulnerabilities. It is crucial to upgrade the affected packages.

The potential consequences include unauthorized code execution, data manipulation, and unauthorized access to user sessions.

To fix these vulnerabilities, upgrade the MediaWiki packages to the recommended versions mentioned in the 'how_to_fix' section.

How To Fix

Minimum fixed version

1:1.19.14+dfsg-0+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade mediawiki

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback