BetterDocs <= 4.6.0 - Authenticated (Custom+) SQL Injection via 'lang' Parameter

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-15104
CVSS 6.5 (Medium)
Publicly Published July 9, 2026
Last Updated July 10, 2026
Researcher Wordfence PRISM - Wordfence

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().

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot

Software Type Plugin
Software Slug betterdocs (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.6.1, or a newer patched version
Affected Version
  • <= 4.6.0
Patched Version
  • 4.6.1

Recent vulnerabilities in BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot

# Title CVE ID CVSS Researchers Date
1 BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot <= 4.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-65562 6.4 Ananda Dhakal July 24, 2026
2 BetterDocs <= 4.5.4 - Unauthenticated Stored Cross-Site Scripting CVE-2026-11371 7.2 Drew Webber (mcdruid) June 25, 2026
3 BetterDocs <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'blockId' Block Attribute CVE-2026-12157 6.4 Craniums June 18, 2026
4 BetterDocs <= 4.3.11 - Missing Authorization to Authenticated (Subscriber+) Unauthorized AI API Usage CVE-2026-6393 4.3 h0xilo April 23, 2026
5 BetterDocs <= 4.3.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes CVE-2026-3875 6.4 Muhammad Yudha - DJ April 15, 2026
6 BetterDocs <= 4.3.10 - Unauthenticated Information Exposure CVE-2026-42644 5.3 hivesec March 18, 2026
7 BetterDocs <= 4.3.3 - Authenticated (Contributor+) Sensitive Information Exposure CVE-2025-14980 6.5 Dmitrii Ignatyev January 8, 2026
8 BetterDocs <= 4.1.1 - Missing Authorization to Private And Password-Protected Posts Information Disclosure CVE-2025-7499 5.3 xitsec August 15, 2025
9 BetterDocs <= 3.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-43227 6.4 João Pedro Soares de Alcântara August 9, 2024
10 BetterDocs <= 3.5.8 - Authenticated (Contributor+) Local File Inclusion CVE-2024-43129 8.8 João Pedro Soares de Alcântara August 7, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation