CVE-2025-12004 The compare API module breaks Extension:Lockdown
Attackers can abuse privileges due to incorrect permission assignment in the MediaWiki Lockdown Extension's compare API module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12004?
CVE-2025-12004 is a critical missing authorization vulnerability in The Wikimedia Foundation Mediawiki - Lockdown Extension, published on 21 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Incorrect Permission Assignment for Critical Resource vulnerability in The Wikimedia Foundation Mediawiki - Lockdown Extension allows Privilege Abuse. Fixed in Mediawiki Core Action APIThis issue affects Mediawiki - Lockdown Extension: from master before 1.42.
Weakness: CWE-732
Which versions are affected by CVE-2025-12004?
How do I fix CVE-2025-12004?
No fix has been published for CVE-2025-12004 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-12004 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12004 exists.
Sources
Also known as GHSA-42p2-jfjf-9m59, UBUNTU-CVE-2025-12004.