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

Source: https://junglewise.ai/threats/cve-2026-15104-wpdevteam-betterdocs-sql-injection-in-lang-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-10. Updated: 2026-07-10  
License: CC BY 4.0 with a link back

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

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.

Technologies: [WPDeveloper BetterDocs](https://junglewise.ai/threats/technologies/betterdocs). Vendors: [WPDeveloper](https://junglewise.ai/threats/vendors/wpdeveloper).

## Quick answers

**Is CVE-2026-15104 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-15104 being exploited in the wild.

**How severe is CVE-2026-15104?** Medium severity, with a CVSS score of 6.5, published 10 July 2026.

**Which products and versions are affected?** WPDeveloper BetterDocs 0 - 4.6.0.

**Is there a fix for CVE-2026-15104?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-15104 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-15104?** Check whether you run WPDeveloper BetterDocs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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

- [https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Core/PostType.php](https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Core/PostType.php)
- [https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Core/PostType.php](https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Core/PostType.php)
- [https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Utils/Helper.php](https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.6.0/includes/Utils/Helper.php)
- [https://plugins.trac.wordpress.org/changeset?reponame=&old=3601408%40betterdocs&new=3601408%40betterdocs](https://plugins.trac.wordpress.org/changeset?reponame=&old=3601408%40betterdocs&new=3601408%40betterdocs)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/05dbb5f4-b73b-46b4-9177-ba1d36fe0ee7?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/05dbb5f4-b73b-46b4-9177-ba1d36fe0ee7?source=cve)

## Related threats

- [WPDeveloper BetterDocs Contributor XSS](https://junglewise.ai/threats/cve-2026-65562-wpdeveloper-betterdocs-contributor-xss)
- [WPDeveloper BetterDocs Stored XSS via AI Summarizer Prompt Injection](https://junglewise.ai/threats/cve-2026-11371-wpdeveloper-betterdocs-stored-xss-via-ai-summarizer-prompt)
- [wpdevteam BetterDocs Stored XSS in CategorySlateLayout blockId](https://junglewise.ai/threats/cve-2026-12157-wpdevteam-betterdocs-stored-xss-in-categoryslatelayout-blockid)
