CVE-2025-61653: Vulnerability in Wikimedia Foundation TextExtracts
Vulnerability in Wikimedia Foundation TextExtracts. This vulnerability is associated with program files includes/ApiQueryExtracts.Php. This issue affects TextExtracts: from * before 1.39.14, 1.43.4, 1.44.1.
AI Analysis
Technical Summary
CVE-2025-61653 is a directory traversal vulnerability identified in the Wikimedia Foundation's TextExtracts extension, which is used to extract plain text from wiki pages via API queries. The vulnerability resides in the includes/ApiQueryExtracts.php file, where insufficient validation of user-supplied input allows an attacker to manipulate file paths. This weakness corresponds to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The affected versions include all versions prior to 1.39.14, 1.43.4, and 1.44.1. The vulnerability can be exploited remotely without authentication or user interaction, as indicated by the CVSS vector (AV:N/AC:L/PR:N/UI:N). The CVSS 4.0 base score is 2.7, reflecting a low severity primarily due to limited confidentiality impact and no impact on integrity or availability. The attacker could potentially read files outside the intended directory scope, leading to limited information disclosure. No exploits have been reported in the wild, and no official patches have been linked yet, though the affected versions suggest that fixes may be included in the specified later versions. The vulnerability's scope is limited to Wikimedia Foundation's TextExtracts extension, which is typically deployed in MediaWiki installations that utilize this extension for API-based text extraction.
Potential Impact
The primary impact of CVE-2025-61653 is limited information disclosure through unauthorized file access. While the vulnerability does not allow modification or deletion of data, nor does it affect system availability, the exposure of sensitive files could aid attackers in reconnaissance or further exploitation. Organizations running MediaWiki with the TextExtracts extension in affected versions may inadvertently expose internal configuration files or other sensitive data if the API is accessible externally. Given the low CVSS score and lack of known exploits, the immediate risk is low; however, public-facing wiki installations with sensitive content or internal deployment could be targeted for information gathering. The vulnerability could be leveraged as part of a multi-stage attack chain but is unlikely to cause direct severe damage on its own.
Mitigation Recommendations
Organizations should first identify if they are running affected versions of the Wikimedia Foundation TextExtracts extension. Since no official patches are linked yet, administrators should monitor Wikimedia Foundation security advisories for updates and apply patches promptly once released. In the interim, restricting external access to the API endpoints that utilize TextExtracts can reduce exposure. Implementing web application firewalls (WAFs) with rules to detect and block directory traversal attempts targeting ApiQueryExtracts.php is advisable. Additionally, auditing MediaWiki configurations to limit API access to trusted users or networks can mitigate risk. Regularly reviewing server logs for suspicious file path requests and employing intrusion detection systems to alert on anomalous API usage will help detect exploitation attempts early. Finally, consider upgrading to the fixed versions (1.39.14, 1.43.4, 1.44.1 or later) as soon as they become available.
Affected Countries
United States, Germany, France, United Kingdom, Japan, Canada, Australia, India, Brazil, Netherlands
CVE-2025-61653: Vulnerability in Wikimedia Foundation TextExtracts
Description
Vulnerability in Wikimedia Foundation TextExtracts. This vulnerability is associated with program files includes/ApiQueryExtracts.Php. This issue affects TextExtracts: from * before 1.39.14, 1.43.4, 1.44.1.
AI-Powered Analysis
Technical Analysis
CVE-2025-61653 is a directory traversal vulnerability identified in the Wikimedia Foundation's TextExtracts extension, which is used to extract plain text from wiki pages via API queries. The vulnerability resides in the includes/ApiQueryExtracts.php file, where insufficient validation of user-supplied input allows an attacker to manipulate file paths. This weakness corresponds to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The affected versions include all versions prior to 1.39.14, 1.43.4, and 1.44.1. The vulnerability can be exploited remotely without authentication or user interaction, as indicated by the CVSS vector (AV:N/AC:L/PR:N/UI:N). The CVSS 4.0 base score is 2.7, reflecting a low severity primarily due to limited confidentiality impact and no impact on integrity or availability. The attacker could potentially read files outside the intended directory scope, leading to limited information disclosure. No exploits have been reported in the wild, and no official patches have been linked yet, though the affected versions suggest that fixes may be included in the specified later versions. The vulnerability's scope is limited to Wikimedia Foundation's TextExtracts extension, which is typically deployed in MediaWiki installations that utilize this extension for API-based text extraction.
Potential Impact
The primary impact of CVE-2025-61653 is limited information disclosure through unauthorized file access. While the vulnerability does not allow modification or deletion of data, nor does it affect system availability, the exposure of sensitive files could aid attackers in reconnaissance or further exploitation. Organizations running MediaWiki with the TextExtracts extension in affected versions may inadvertently expose internal configuration files or other sensitive data if the API is accessible externally. Given the low CVSS score and lack of known exploits, the immediate risk is low; however, public-facing wiki installations with sensitive content or internal deployment could be targeted for information gathering. The vulnerability could be leveraged as part of a multi-stage attack chain but is unlikely to cause direct severe damage on its own.
Mitigation Recommendations
Organizations should first identify if they are running affected versions of the Wikimedia Foundation TextExtracts extension. Since no official patches are linked yet, administrators should monitor Wikimedia Foundation security advisories for updates and apply patches promptly once released. In the interim, restricting external access to the API endpoints that utilize TextExtracts can reduce exposure. Implementing web application firewalls (WAFs) with rules to detect and block directory traversal attempts targeting ApiQueryExtracts.php is advisable. Additionally, auditing MediaWiki configurations to limit API access to trusted users or networks can mitigate risk. Regularly reviewing server logs for suspicious file path requests and employing intrusion detection systems to alert on anomalous API usage will help detect exploitation attempts early. Finally, consider upgrading to the fixed versions (1.39.14, 1.43.4, 1.44.1 or later) as soon as they become available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- wikimedia-foundation
- Date Reserved
- 2025-09-29T13:18:40.095Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69814fa1f9fa50a62f7207e3
Added to database: 2/3/2026, 1:30:09 AM
Last enriched: 3/3/2026, 6:29:30 PM
Last updated: 3/20/2026, 9:21:13 AM
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.