Description
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().
Published: 2026-07-10
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the BetterDocs plugin for WordPress and is a classic SQL injection flaw. When a site has a supported multilingual plugin active, the plugin fails to escape the 'lang' request parameter and will concatenate its value directly into a query. Because the attacker must be authenticated with custom‑level or higher privileges, the attack is not public. Successful exploitation allows the attacker to append arbitrary SQL statements to the existing query and to read sensitive information from the database.

Affected Systems

WordPress sites running BetterDocs plugin version 4.6.0 or earlier and that have one of the supported multilingual plugins (WPML, Polylang, qTranslate, Weglot, or TranslatePress flaw can be exploited by authenticated users with custom-level access or higher when a multilingual plugin is active. By injecting arbitrary SQL, an attacker can append statements to the existing query, potentially extracting sensitive data such as user credentials, configuration, or content from the WordPress database. The vulnerability is a.

Risk and Exploitability

The CVSS score of 6.5 rates the flaw as moderately severe. The EPSS score of less than 1% indicates a low probability of widespread exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Attack requires an authenticated user with custom-level or higher privileges and an active multilingual plugin, which limits exposure compared to a fully unauthenticated flaw. Nevertheless, if those conditions are met, an attacker can exfiltrate sensitive database information.

Generated by OpenCVE AI on July 29, 2026 at 11:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest BetterDocs plugin update that sanitizes the 'lang' parameter.
  • If a patch cannot be applied immediately, disable or uninstall any active multilingual plugin (WPML, Polylang, qTranslate, Weglot, or TranslatePress) or create a WAF rule to block requests containing the 'lang' parameter.
  • Restrict role permissions so that only trusted administrators have custom-level or higher capabilities, and monitor the database for abnormal SELECT or INSERT statements.

Generated by OpenCVE AI on July 29, 2026 at 11:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 09:00:00 +0000

Type Values Removed Values Added
Description 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().
Title BetterDocs <= 4.6.0 - Authenticated (Custom+) SQL Injection via 'lang' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-10T17:59:24.023Z

Reserved: 2026-07-08T17:03:33.248Z

Link: CVE-2026-15104

cve-icon Vulnrichment

Updated: 2026-07-10T17:58:58.160Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:15:04Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')