Skip to main content

MediaWiki WatchAnalytics CVE-2025-62658

HIGH
SQL Injection (CWE-89)
2025-10-20 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
7.5
CVSS 4.0 · Vendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege wiki user
  2. Exploit
    Submit crafted input to WatchAnalytics endpoint
  3. Execution
    Injected SQL executes against backend database
  4. Impact
    Read or modify sensitive wiki data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a MediaWiki installation with the optional WatchAnalytics extension (version 1.43 or 1.44) deployed - this extension is not part of a default MediaWiki install. Per the CVSS vector, the attacker needs an authenticated low-privilege account (PR:L), passive user interaction must occur (UI:P), and the High attack complexity (AC:H) indicates additional conditions outside the attacker's direct control (such as specific timing, state, or configuration) must be met for reliable injection. The limiting factors are therefore: the extension must be installed, the attacker must hold valid credentials, and the non-trivial complexity reduces the chance of trivial mass exploitation.

Impact

This is a moderate-priority vulnerability rather than an emergency. The CVSS 4.0 base score of 7.5 reflects full compromise of the vulnerable system's confidentiality, integrity, and availability (VC:H/VI:H/VA:H) via a network vector (AV:N), but several metrics temper real-world urgency: Attack Complexity is High (AC:H), exploitation requires at least low-level authenticated privileges (PR:L), and passive user interaction is needed (UI:P). No EPSS score, CISA KEV listing, or public proof-of-concept was provided in the intelligence set, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The signals are internally consistent - a classic authenticated SQL injection (CWE-89) with meaningful impact but non-trivial preconditions - so this is a genuine but not drop-everything issue. The dominant factor limiting real-world risk is prevalence: WatchAnalytics is an optional, niche MediaWiki extension, so the exposed population is small. Note the only reference is a Wikimedia Phabricator task (T406380) with no attached CVSS or exploitation data in the feed, meaning exploitation status is inferred from the absence of KEV/POC signals rather than independently confirmed.

Exploit ScenarioDerived

An attacker with a low-privilege authenticated account on a MediaWiki wiki running the WatchAnalytics extension submits crafted input to an extension endpoint that is concatenated into a SQL query, injecting arbitrary SQL. Because the attack requires passive user interaction and has high complexity, the attacker likely must satisfy specific timing or configuration conditions to reliably trigger the flaw. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

SQL injection in the MediaWiki WatchAnalytics extension, affecting versions 1.43 and 1.44, allows an authenticated low-privilege user to inject arbitrary SQL into queries executed by the extension, potentially reading, modifying, or deleting data in the wiki's database. Exploitation is constrained: the WatchAnalytics extension is optional and not present in a default MediaWiki installation, the attacker must already hold valid credentials (CVSS 3.1 PR:L), passive user interaction is required (UI:R), and the assessed High attack complexity (AC:H) means additional timing, state, or configuration conditions must line up before injection succeeds reliably. There is no public exploit code identified at time of analysis and the issue is not listed in CISA KEV, so this is a moderate-priority finding rather than an emergency, though the impact on confidentiality, integrity, and availability is rated High when the preconditions are met.

RemediationAI

No vendor-released patch version was identified at time of analysis, so the first action is to track the Wikimedia Phabricator security task at https://phabricator.wikimedia.org/T406380 and the WatchAnalytics extension repository for a fixed revision, then update the extension to that revision as soon as it is published rather than waiting for a MediaWiki core release. Until a fix is available, the most reliable mitigation is to disable the extension entirely by removing or commenting out its wfLoadExtension line in LocalSettings.php; the trade-off is that all watchlist analytics and reporting features it provides become unavailable to your editors. If the feature cannot be disabled, restrict exposure by ensuring only trusted, vetted accounts exist on the wiki and by limiting account-creation and user-rights grants, since exploitation requires an authenticated low-privilege account and passive user interaction - this reduces but does not eliminate the attack surface. Additionally, run the MediaWiki database account with least privilege (no DDL/administrative rights on unrelated schemas) to cap the damage if injection succeeds, and review web server and database error logs for anomalous SQL syntax errors that may indicate injection attempts; note that log review is detective only and will not prevent exploitation.

Affected ProductsAI

The affected product is the WatchAnalytics extension for MediaWiki, specifically versions 1.43 and 1.44 as published for those MediaWiki release branches. Because the extension is optional, only wikis that have explicitly enabled it (typically via a wfLoadExtension call for WatchAnalytics in LocalSettings.php) on a MediaWiki 1.43 or 1.44 installation are in scope; a stock MediaWiki installation without the extension is not affected. No CPE identifiers were included in the intelligence provided, so version matching should be performed against the extension's own versioning rather than a CPE dictionary entry. The primary vendor reference for this issue is the Wikimedia Phabricator task https://phabricator.wikimedia.org/T406380, which should be consulted for the authoritative affected-version list and any subsequent fix publication.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-89 SQL Injection: 'Improper Neutralization of Special Elements used in an SQL Command.' MediaWiki extensions written in PHP are expected to build database queries through the platform's database abstraction layer (Wikimedia\Rdbms, e.g. select/insert/update/delete wrappers and addQuotes/parameter binding) so that user-supplied values cannot alter query structure. WatchAnalytics adds watchlist-analytics and reporting features to MediaWiki, so it both consumes user-controlled input (such as page identifiers, user names, and report parameters passed through web requests) and interpolates it into SQL statements. Where that input is concatenated into a query string rather than bound or escaped, an attacker can terminate the intended expression and append their own SQL, allowing the database to be manipulated with the privileges of the MediaWiki database account. The affected component is the extension itself rather than the MediaWiki core, and only wikis that have explicitly loaded the extension on MediaWiki 1.43 or 1.44 branches are exposed; no CPE strings were supplied with the report, and the impact scope is limited to the wiki's own database context (S:U in the assessed vector), not a cross-trust-boundary escalation.

Know when Mediawiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc) PRIMARY 7.5 HIGH
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:M/U:Amber
vuln.today AI 7.1 HIGH

Network-reachable SQLi needing an authenticated low-privilege user (PR:L) and user interaction (UI:R), with complex preconditions (AC:H); full database impact and no scope change (S:U).

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).

CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foundation MediaWiki WatchAnalytics extension allows SQL Injection.This issue affects MediaWiki WatchAnalytics extension: 1.43, 1.44.

Executive ViewAI

Why It Matters

MediaWiki installations running the optional WatchAnalytics extension on versions 1.43 or 1.44 carry a high-severity SQL injection flaw (CVE-2025-62658) that would let any user with an existing low-privilege account tamper with the wiki's underlying database, including reading, altering, or deleting content. Organizations that use WatchAnalytics for watchlist reporting are exposed, while the majority of MediaWiki deployments that never installed this extension are unaffected. Because no vendor patch is available, leadership should treat this as a contained but unpatched data-integrity risk requiring inventory and interim mitigation rather than an emergency response.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable or uninstall the optional WatchAnalytics extension where not essential; restrict watchlist/analytics pages to trusted accounts; run the MediaWiki database account with least privilege; enable database query logging and alerting for anomalous SQL from the extension; deploy WAF rules to block SQL injection patterns against watchlist endpoints; audit and reduce low-privilege and service accounts; monitor vendor advisories for a fix covering MediaWiki 1.43 and 1.44.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
optional niche MediaWiki extension, not installed on most wikis
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2014-1610 MEDIUM POC
6.0 Jan 30

MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy