Skip to main content

BetterDocs CVE-2026-15104

| EUVDEUVD-2026-42840 MEDIUM
SQL Injection (CWE-89)
2026-07-10 Wordfence GHSA-6r9x-hjc8-pghq
6.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain custom-level WordPress account
  2. Delivery
    Confirm active multilingual plugin on target
  3. Exploit
    Craft malicious SQL payload in 'lang' parameter
  4. Execution
    Submit authenticated HTTP request to vulnerable BetterDocs endpoint
  5. Persist
    Unsanitized input appended to existing SQL query
  6. Impact
    Extract 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 Helper::is_multilingual_active() returns true (Helper.php line 344). Sites running BetterDocs without any multilingual plugin are not reachable via this code path regardless of plugin version. Limiting factors: authentication barrier (PR:L) excludes drive-by or unauthenticated attacks; the multilingual plugin gate restricts exposure to a subset of BetterDocs deployments; impact scope is read-only (C:H, I:N, A:N), with no lateral write capability.

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 lang parameter. The request reaches the vulnerable query-construction logic in PostType.php, where the unescaped, unprepared parameter allows the injected SQL to execute against the WordPress database, returning sensitive records such as user email addresses, hashed passwords, or private post content. No public POC exists at time of analysis, but the injection type (generic SQL append) is well-understood and the skill threshold for exploitation is low once a valid account and vulnerable configuration are confirmed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot 0 ≤4.6.0

Affected Packages

euvd betterdocs_ai_documentation_knowledge_base_docs_wikis_faq_with_chatbot no fix

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

Vendor (Wordfence) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular WordPress documentation/knowledge-base plugin, not universally deployed
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

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