Plugins · betterdocs · data as of 2026-11-04
Is BetterDocs safe? Known vulnerabilities and latest version
- Latest version
- 4.9.5
- Last updated
- 2026-10-12
- Active installs
- 30,000+
- Known issues on record
- 15
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 7.4+
Documentation, FAQ & Knowledge Base plugin to create docs, FAQs, product FAQ, wikis & help center with MCP, AI writing, instant answers & AI Chatbot. — by WPDeveloper
What to do
- Update to the latest version (4.9.5). Anything older than 4.8.2 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get betterdocs --field=version shows what you run; wp plugin update betterdocs updates it.
Check your version
Known vulnerabilities
15 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
medium 6.4 CVE-2026-75980 · published 2026-09-01
Stored cross-site scripting (XSS) in BetterDocs (4.8.1 and older)
- Affected
- 4.8.1 and older
- Fixed in
- 4.8.2 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Heading 'id' Attribute in Post Content in all versions up to, and including, 4.8.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit survives wp_kses_post because entity-encoded quotes in a heading id attribute are treated as a single legitimate attribute value at save time; the dangerous payload only materialises after process_content_for_toc() calls html_entity_decode() on the stored content and the broken id is extracted by a lazy regex before being echoed unescaped into the Table of Contents output.
NVD CVE-2026-75980Wordfence advisoryCode change (fix)Plugin source
medium 6.5 CVE-2026-65562 · published 2026-07-27
Cross-site scripting (XSS) in BetterDocs (4.6.2 and older)
- Affected
- 4.6.2 and older
- Fixed in
- 4.7.0
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Contributor Cross Site Scripting (XSS) in BetterDocs <= 4.6.2 versions.
medium 6.1 CVE-2026-11371 · published 2026-07-16
Cross-site scripting (XSS) in BetterDocs (4.0.0 up to (not including) 4.5.5)
- Affected
- 4.0.0 up to (not including) 4.5.5
- Fixed in
- 4.5.5
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The BetterDocs WordPress plugin before 4.5.5 does not sanitise an AI-generated documentation summary before storing and outputting it, and the feature that generates it is exposed to unauthenticated users, allowing them to store a malicious payload via prompt injection that executes in the browser of any visitor who views the affected page, including administrators.
medium 6.5 CVE-2026-15104 · published 2026-07-10
SQL injection in BetterDocs (4.6.0 and older)
- Affected
- 4.6.0 and older
- Fixed in
- 4.6.1 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
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().
NVD CVE-2026-15104Wordfence advisoryCode change (fix)Plugin source
medium 6.4 CVE-2026-12157 · published 2026-06-19
Stored cross-site scripting (XSS) in BetterDocs (4.5.3 and older)
- Affected
- 4.5.3 and older
- Fixed in
- 4.5.4 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs - Knowledge Base Docs & FAQ Solution for Elementor & Block Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the blockId attribute of the betterdocs/category-slate-layout Gutenberg block in versions up to, and including, 4.5.3. This is due to insufficient input sanitization and output escaping in the CategorySlateLayout::render() method, which echoes the blockId block attribute directly into an HTML class attribute without esc_attr(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
NVD CVE-2026-12157Wordfence advisoryCode change (fix)Plugin source
medium 5.3 CVE-2026-42644 · published 2026-04-29
Information disclosure in BetterDocs (4.3.10 and older)
- Affected
- 4.3.10 and older
- Fixed in
- 4.3.11
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Exposure of Sensitive System Information to an Unauthorized Control Sphere vulnerability in WPDeveloper BetterDocs betterdocs allows Retrieve Embedded Sensitive Data.This issue affects BetterDocs: from n/a through <= 4.3.10.
medium 4.3 CVE-2026-6393 · published 2026-04-24
Missing authorization check in BetterDocs (4.3.11 and older)
- Affected
- 4.3.11 and older
- Fixed in
- 4.3.12 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 4.3.11. This is due to a missing capability check in the generate_openai_content_callback() function, which relies solely on a nonce rather than verifying user permissions. This makes it possible for authenticated attackers, with subscriber-level access and above, to trigger OpenAI API calls using the site's configured API key with arbitrary user-controlled prompts, leading to unauthorized consumption of the site owner's paid AI API quota.
NVD CVE-2026-6393Wordfence advisoryCode change (fix)Plugin source
medium 6.4 CVE-2026-3875 · published 2026-04-16
Stored cross-site scripting (XSS) in BetterDocs (4.3.8 and older)
- Affected
- 4.3.8 and older
- Fixed in
- 4.3.9 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'betterdocs_feedback_form' shortcode in all versions up to, and including, 4.3.8. This is due to insufficient input sanitization and output escaping on user supplied shortcode attributes. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
medium 6.5 CVE-2025-14980 · published 2026-01-09
Information disclosure in BetterDocs (4.3.3 and older)
- Affected
- 4.3.3 and older
- Fixed in
- 4.3.4 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.3.3 via the scripts() function. This makes it possible for authenticated attackers, with contributor-level access and above, to extract sensitive data including the OpenAI API key stored in plugin settings.
NVD CVE-2025-14980Wordfence advisoryCode change (fix)research.cleantalk.org
medium 5.3 CVE-2025-7499 · published 2025-08-16
Missing authorization check in BetterDocs (4.1.1 and older)
- Affected
- 4.1.1 and older
- Fixed in
- 4.1.2 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs – Advanced AI-Driven Documentation, FAQ & Knowledge Base Tool for Elementor & Gutenberg with Encyclopedia, AI Support, Instant Answers plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the get_response function in all versions up to and including 4.1.1. This makes it possible for unauthenticated attackers to retrieve passwords for password-protected documents as well as the metadata of private and draft documents.
NVD CVE-2025-7499Wordfence advisoryCode change (fix)Plugin source
medium 4.3 CVE-2023-47762 · published 2024-12-09
Missing authorization check in BetterDocs (2.5.2 and older)
- Affected
- 2.5.2 and older
- Fixed in
- 2.5.3
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Missing Authorization vulnerability in WPDeveloper BetterDocs betterdocs allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects BetterDocs: from n/a through <= 2.5.2.
high 8.8 CVE-2024-43129 · published 2024-08-13
File inclusion in BetterDocs (3.5.8 and older)
- Affected
- 3.5.8 and older
- Fixed in
- 3.5.9
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WPDeveloper BetterDocs allows PHP Local File Inclusion.This issue affects BetterDocs: from n/a through 3.5.8.
medium 5.4 CVE-2024-43227 · published 2024-08-12
Stored cross-site scripting (XSS) in BetterDocs (3.5.8 and older)
- Affected
- 3.5.8 and older
- Fixed in
- 3.5.9
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WPDeveloper BetterDocs allows Stored XSS.This issue affects BetterDocs: from n/a through 3.5.8.
medium 6.4 CVE-2024-2845 · published 2024-04-09
Stored cross-site scripting (XSS) in BetterDocs (3.4.2 and older)
- Affected
- 3.4.2 and older
- Fixed in
- 3.5.0 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The BetterDocs – Best Documentation, FAQ & Knowledge Base Plugin with AI Support & Instant Answer For Elementor & Gutenberg plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in all versions up to, and including, 3.4.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
critical 9.0 CVE-2024-30226 · published 2024-03-28
PHP object injection in BetterDocs (3.3.3 and older)
- Affected
- 3.3.3 and older
- Fixed in
- 3.3.4
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Deserialization of Untrusted Data vulnerability in WPDeveloper BetterDocs.This issue affects BetterDocs: from n/a through 3.3.3.
Recent activity
- 2026-10-12 — latest release on wordpress.org (4.9.5).
- 2026-09-01 — Stored cross-site scripting (XSS) disclosed (CVE-2026-75980), fixed in 4.8.2.
- 2026-07-27 — Cross-site scripting (XSS) disclosed (CVE-2026-65562), fixed in 4.7.0.
- 2026-07-16 — Cross-site scripting (XSS) disclosed (CVE-2026-11371), fixed in 4.5.5.
Get an email when BetterDocs has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for BetterDocs (betterdocs) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by WPDeveloper (12 tracked)
Types found in this plugin: Cross-site scripting (XSS) (7) · Missing authorization (3) · Sensitive data exposure (2) · SQL injection (1) · File inclusion (1) · PHP object injection (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/betterdocs (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/betterdocs"><img src="https://laskyr.com/plugins/betterdocs/badge.svg" alt="BetterDocs vulnerability status"></a>