VulnarioBlogMediaWiki vulnerabilities
MediaWiki Vulnerabilities: The 10 Most Critical MediaWiki Security Bugs (CVEs)
MediaWiki vulnerabilities are security flaws in MediaWiki that attackers can abuse to steal data, take over a server or interrupt a service. MediaWiki is the wiki software that powers Wikipedia. The National Vulnerability Database (NVD) lists 417 CVEs for MediaWiki, 20 of them rated critical, and 48 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical MediaWiki security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers MediaWiki security basics, the current end-of-life dates and a free way to be told about the next MediaWiki CVE as soon as it is published.
Key takeaways
- No MediaWiki CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 20 MediaWiki CVEs are rated critical (CVSS v3), and 48 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-58025, published Jul 1, 2026.
- Supported MediaWiki releases today (per endoflife.date): 1.46, 1.45, 1.43. Releases not on the list are past their announced end of life.
- You can monitor MediaWiki for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these MediaWiki CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical MediaWiki CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2026-58025 | 9.8 Critical | 2026-07-01 | Code injection | No |
| 2 | CVE-2025-67484 | 9.8 Critical | 2026-02-03 | Improper input validation | No |
| 3 | CVE-2024-34502 | 9.8 Critical | 2024-05-05 | Cross-site request forgery (CSRF) | No |
| 4 | CVE-2023-37303 | 9.8 Critical | 2023-06-30 | Improper check for unusual conditions | No |
| 5 | CVE-2023-29141 | 9.8 Critical | 2023-03-31 | HTTP request smuggling | No |
| 6 | CVE-2022-29904 | 9.8 Critical | 2022-04-29 | SQL injection | No |
| 7 | CVE-2022-29906 | 9.8 Critical | 2022-04-29 | Missing authorization | No |
| 8 | CVE-2022-28205 | 9.8 Critical | 2022-03-30 | Critical security flaw | No |
| 9 | CVE-2022-28206 | 9.8 Critical | 2022-03-30 | Critical security flaw | No |
| 10 | CVE-2022-28209 | 9.8 Critical | 2022-03-30 | Critical security flaw | No |
Each MediaWiki CVE explained
1. CVE-2026-58025: Code injection
- What NVD says
- Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.Php. This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.43.0 to before 1.43.9; 1.44.0 to before 1.44.6; 1.45.0 to before 1.45.4; 1.46.0
- What to do
- Upgrade to the fixed release for your branch (1.43.9, 1.44.6, 1.45.4) or a later one, then restart the service.
2. CVE-2025-67484: Improper input validation
- What NVD says
- Vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Api/ApiFormatXml.Php. This issue affects MediaWiki: from * before 1.39.16, 1.43.6, 1.44.3, 1.45.1.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.39.0 to before 1.39.16; 1.43.0 to before 1.43.6; 1.44.0 to before 1.44.3; 1.45.0
- What to do
- Upgrade to the fixed release for your branch (1.39.16, 1.43.6, 1.44.3) or a later one, then restart the service.
3. CVE-2024-34502: Cross-site request forgery (CSRF)
- What NVD says
- An issue was discovered in WikibaseLexeme in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1. Loading Special:MergeLexemes will (attempt to) make an edit that merges the from-id to the to-id, even if the request was not a POST request, and even if it does not contain an edit token.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.39.6; 1.40.0 to before 1.40.2; 1.41.0 to before 1.41.1
- What to do
- Upgrade to the fixed release for your branch (1.39.6, 1.40.2, 1.41.1) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2023-37303: Improper check for unusual conditions
- What NVD says
- An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. In certain situations, an attempt to block a user fails after a temporary browser hang and a DBQueryDisconnectedError error message.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.39.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
5. CVE-2023-29141: HTTP request smuggling
- What NVD says
- An issue was discovered in MediaWiki before 1.35.10, 1.36.x through 1.38.x before 1.38.6, and 1.39.x before 1.39.3. An auto-block can occur for an untrusted X-Forwarded-For header.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.35.10; 1.36.0 to before 1.38.6; 1.39.0 to before 1.39.3
- What to do
- Upgrade to the fixed release for your branch (1.35.10, 1.38.6, 1.39.3) or a later one, then restart the service.
6. CVE-2022-29904: SQL injection
- What NVD says
- The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQL injection with certain '-' and '_' constraints.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.37.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
7. CVE-2022-29906: Missing authorization
- What NVD says
- The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf9f66) omits a check for the quizadmin user.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.37.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
8. CVE-2022-28205: Critical security flaw
- What NVD says
- An issue was discovered in MediaWiki through 1.37.1. The CentralAuth extension mishandles a ttl issue for groups expiring in the future.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.37.1
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2022-28206: Critical security flaw
- What NVD says
- An issue was discovered in MediaWiki through 1.37.1. ImportPlanValidator.php in the FileImporter extension mishandles the check for edit rights.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.37.1
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
10. CVE-2022-28209: Critical security flaw
- What NVD says
- An issue was discovered in Mediawiki through 1.37.1. The check for the override-antispoof permission in the AntiSpoof extension is incorrect.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 1.37.1
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
MediaWiki end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid MediaWiki vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported MediaWiki releases are 1.46, 1.45, 1.43.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| MediaWiki 1.46 | Jun 30, 2026 | Jul 31, 2027 | 1.46.2 | Supported |
| MediaWiki 1.45 | Dec 4, 2025 | Dec 31, 2026 | 1.45.6 | Supported |
| MediaWiki 1.44 | Jul 2, 2025 | Jul 31, 2026 | 1.44.6 | End of life |
| MediaWiki 1.43 (LTS) | Dec 21, 2024 | Dec 31, 2027 | 1.43.11 | Supported |
| MediaWiki 1.42 | Jun 27, 2024 | Jun 30, 2025 | 1.42.7 | End of life |
| MediaWiki 1.41 | Dec 21, 2023 | Dec 31, 2024 | 1.41.5 | End of life |
| MediaWiki 1.40 | Jun 30, 2023 | Jun 28, 2024 | 1.40.4 | End of life |
| MediaWiki 1.39 (LTS) | Nov 30, 2022 | Dec 31, 2025 | 1.39.17 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
MediaWiki security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Where you run MediaWiki matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating MediaWiki: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than MediaWiki. A flaw anywhere in the chain can be the way in, so also review our guides to PHP vulnerabilities, MySQL vulnerabilities and Nginx vulnerabilities.
How to get alerted about new MediaWiki vulnerabilities
NVD received 48 new MediaWiki CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose MediaWiki and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run MediaWiki alone. These guides cover the technologies it is most often deployed with.
- PHP vulnerabilities: PHP is the server-side language behind WordPress and most of the web.
- MySQL vulnerabilities: MySQL is the world's most widely used open-source relational database.
- Nginx vulnerabilities: Nginx is a popular web server, reverse proxy and load balancer.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Django vulnerabilities: Django is a high-level Python web framework.
- Drupal vulnerabilities: Drupal is an open-source content management system and framework.
- Elementor vulnerabilities: Elementor is the most popular page builder plugin for WordPress.
- Express.js vulnerabilities: Express.js is the most popular web framework for Node.js.
Frequently asked questions about MediaWiki vulnerabilities
What are the most critical MediaWiki vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical MediaWiki CVEs include CVE-2026-58025 (CVSS 9.8), CVE-2025-67484 (CVSS 9.8), CVE-2024-34502 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have MediaWiki vulnerabilities been exploited in real attacks?
For the MediaWiki product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep MediaWiki patched.
How many vulnerabilities does MediaWiki have?
As of Nov 3, 2026 the National Vulnerability Database lists 417 CVEs for MediaWiki, with 20 rated critical by CVSS v3. 48 were published in the previous twelve months.
Which MediaWiki versions are still supported?
As of Nov 3, 2026, endoflife.date lists these MediaWiki releases as supported: 1.46, 1.45, 1.43. Releases that are not listed are past their announced end of life.
How can I get alerted when a new MediaWiki CVE is published?
Add MediaWiki to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose MediaWiki and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is MediaWiki secure?
MediaWiki is as secure as its patch level. NVD published 48 new MediaWiki CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2026-58025?
CVE-2026-58025 is a critical MediaWiki vulnerability with a CVSS score of 9.8, published Jul 1, 2026. Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.Php.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: MediaWiki (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.