Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain custom-level WordPress account
-
DeliveryConfirm active multilingual plugin on target
-
ExploitCraft malicious SQL payload in 'lang' parameter
-
ExecutionSubmit authenticated HTTP request to vulnerable BetterDocs endpoint
-
PersistUnsanitized input appended to existing SQL query
-
ImpactExtract sensitive records from WordPress database
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 | Two simultaneous conditions must be met: (1) The attacker must possess an authenticated WordPress account with at minimum a 'custom'-level role - the CVSS PR:L vector confirms a low-privilege authenticated requirement, ruling out unauthenticated exploitation. (2) A supported multilingual plugin must be installed and active on the WordPress site - specifically one of WPML, Polylang, qTranslate, Weglot, or TranslatePress - because the vulnerable code path in PostType.php is reached only when |
| Impact | The NVD/Wordfence-assigned CVSS 3.1 score of 6.5 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N captures network reachability and high confidentiality impact, but the AC:L designation appears optimistic given the mandatory multilingual-plugin prerequisite - a condition entirely beyond the attacker's control. An independent assessment (see assessed_cvss_vector) adjusts to AC:H to reflect this. EPSS data is absent, preventing probability-of-exploitation quantification. The CVE is not listed in CISA KEV, and no public POC has been identified, both of which reduce urgency relative to the raw CVSS score. Practically, exploitation is limited to a subset of BetterDocs deployments that (a) grant untrusted users custom-level or higher roles, and (b) operate a supported multilingual plugin - a meaningful reduction in the realistic attack surface. The impact is confidentiality-only; no write or availability component exists, limiting blast radius to data exfiltration scenarios such as harvesting WordPress user hashes or private content. |
| Exploit ScenarioDerived | An attacker with a custom-level WordPress account on a target site running BetterDocs ≤4.6.0 and an active multilingual plugin crafts a malicious HTTP request with SQL payload appended to the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
SQL Injection in the BetterDocs WordPress plugin (versions up to and including 4.6.0) enables authenticated attackers holding at minimum a custom-level WordPress role to append arbitrary SQL to existing queries via the unsanitized lang parameter, extracting sensitive data from the underlying database. The attack surface is restricted to sites where one of five specific multilingual plugins (WPML, Polylang, qTranslate, Weglot, or TranslatePress) is active, as the vulnerable code path is guarded by Helper::is_multilingual_active(). No public exploit identified at time of analysis; EPSS data unavailable, and the CVE is not listed in CISA KEV.
RemediationAI
Upstream fix code is available via WordPress plugin trac changeset 3601408 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3601408%40betterdocs&new=3601408%40betterdocs); users should update BetterDocs to the release version that incorporates this changeset as soon as it appears in the WordPress plugin directory. The exact patched release version number is not confirmed in available data - check the plugin's changelog in the WordPress repository before updating to verify the fix is included. As an immediate compensating control, deactivating all multilingual plugins (WPML, Polylang, qTranslate, Weglot, TranslatePress) disables the vulnerable code path entirely by causing Helper::is_multilingual_active() to return false - this eliminates the attack surface at the cost of multilingual site functionality. Alternatively, audit and reduce the number of WordPress accounts granted custom-level or higher roles, as this limits the pool of potential attackers. No further network-level controls (WAF rules targeting lang parameter injection) are confirmed effective without vendor guidance on exact query patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability originates in PostType.php (lines 767 and 819) of the BetterDocs plugin by WPDevTeam, where user-controlled input passed via the lang parameter is neither properly escaped nor channeled through parameterized/prepared SQL statements - the root cause class per CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The logic in Helper.php line 344 gates the vulnerable code path behind a call to Helper::is_multilingual_active(), meaning the injection surface only becomes reachable when a supported multilingual integration is installed and activated. The CPE cpe:2.3:a:wpdevteam:betterdocs_-__ai_documentation,_knowledge_base,_docs,_wikis,_faq_with_chatbot:*:*:*:*:*:*:*:* covers all plugin versions through 4.6.0. The injection allows SQL to be appended to existing queries (a classic second-order or stacked injection pattern), enabling database read-out without necessarily breaking application behavior.
Know when Wordpress Plugin 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Mandatory multilingual plugin dependency is a beyond-attacker-control prerequisite justifying AC:H over vendor-assigned AC:L; PR:L reflects confirmed custom-role authentication requirement.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The BetterDocs - AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot plugin for WordPress is vulnerable to generic SQL Injection via the 'lang' parameter in all versions up to, and including, 4.6.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with custom-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires a supported multilingual plugin (WPML, Polylang, qTranslate, Weglot, or TranslatePress) to be active on the site, as the vulnerable code path is gated by Helper::is_multilingual_active().
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-42840
GHSA-6r9x-hjc8-pghq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB