Junglewise Threat Intelligence

CVE-2026-15104: wpdevteam BetterDocs SQL injection in lang parameter

CVE-2026-15104 · Severity: medium · CVSS 6.5 · Published 2026-07-10

Technologies: WPDeveloper BetterDocs. Vendors: WPDeveloper.

Executive brief

BetterDocs, a WordPress plugin used for creating documentation and knowledge bases, contains a security flaw that could allow logged-in users with basic permissions to access sensitive information from the website's database. This vulnerability occurs when the site also uses specific multilingual plugins like WPML or Polylang. An attacker could exploit this to steal data that they are not authorized to see, potentially compromising user information or site configuration.

Technical details

A generic SQL injection vulnerability exists in the BetterDocs WordPress plugin due to insufficient escaping of the 'lang' parameter and a lack of SQL query preparation in the PostType.php component. The vulnerability is reachable by authenticated attackers with custom-level access or higher. A significant precondition is that the site must have a supported multilingual plugin (WPML, Polylang, qTranslate, Weglot, or TranslatePress) active, as the vulnerable code path is gated by a check for multilingual functionality. Attackers can append malicious SQL queries to existing ones to exfiltrate data from the database. The issue was addressed in a changeset following version 4.6.0.

Affected products

  • wpdevteam BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot 0 - 4.6.0

Timeline

  • 2026-07-10: advisory: NVD publication date
  • 2026-07-10: disclosed: Wordfence disclosure date

References

Related threats