Home / MediaWiki / MediaWiki / CVE-2012-4381
CVE-2012-4381: is it exploited, and which versions of MediaWiki are affected and fixed?
CVE-2012-4381 is a hard-coded credentials vulnerability in MediaWiki. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: MediaWiki before 1.18.5 and MediaWiki 1.19.x before 1.19.2 (CVE record by redhat). Fixed in 1.18.5 and 1.19.2 (NVD). Severity: High (8.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2012-4381?
MediaWiki before 1.18.5, and 1.19.x before 1.19.2 saves passwords in the local database, (1) which could make it easier for context-dependent attackers to obtain cleartext passwords via a brute-force attack or, (2) when an authentication plugin returns a false in the strict function, could allow remote attackers to use old passwords for non-existing accounts in an external authentication system via unspecified vectors.
From the CVE record by redhat, last updated August 6, 2024, 20:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MediaWiki | before 1.18.5 1.19.x before 1.19.2 |
As the CVE record by redhat states it, last updated August 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mediawiki | mediawiki | before 1.18.5 | application |
| mediawiki | mediawiki | from 1.19.0 before 1.19.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:44 UTC.
How severe is CVE-2012-4381?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-4381 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.06% probability of exploitation activity in the next 30 days, percentile 90.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-798 Use of Hard-coded Credentials
Where are the vendor advisories and references?
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686330 x_refsource_MISC
- https://lists.wikimedia.org/pipermail/mediawiki-announce/2012-August/000119.html x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2012/08/31/6 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2012/08/31/10 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=853442 x_refsource_MISC
- https://phabricator.wikimedia.org/T41184 x_refsource_MISC
- http://osvdb.org/show/osvdb/85106 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- February 8, 2020, 17:50 UTC
- CVE record updated
- August 6, 2024, 20:35 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:44 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect MediaWiki?
- Oct 4, 2024CVE-2024-47913 Mediawiki: sensitive information written to log files
- Jul 6, 2024CVE-2024-40605 Mediawiki: cross-site scripting (XSS)
- Jul 6, 2024CVE-2024-40604 Mediawiki: cross-site scripting (XSS)
- Jul 6, 2024CVE-2024-40603 Mediawiki: cross-site request forgery (CSRF)
- Jul 6, 2024CVE-2024-40602 Mediawiki: cross-site scripting (XSS)
- Jul 6, 2024CVE-2024-40601 Mediawiki: cross-site request forgery (CSRF)
- Jul 6, 2024CVE-2024-40600 Mediawiki: cross-site scripting (XSS)
- Jul 6, 2024CVE-2024-40599 Mediawiki: cross-site scripting (XSS)
Questions about CVE-2012-4381
Is CVE-2012-4381 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 4.06% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of MediaWiki are affected by CVE-2012-4381?
MediaWiki before 1.18.5 and MediaWiki 1.19.x before 1.19.2, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2012-4381?
1.18.5 and 1.19.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-4381?
High (8.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4381?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.