# CVE-2026-11371: WPDeveloper BetterDocs Stored XSS via AI Summarizer Prompt Injection

Source: https://junglewise.ai/threats/cve-2026-11371-wpdeveloper-betterdocs-stored-xss-via-ai-summarizer-prompt  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-16. Updated: 2026-07-16  
License: CC BY 4.0 with a link back

CVE-2026-11371 · Severity: info · CVSS 8.8 · Published 2026-07-16

BetterDocs is a WordPress plugin used to create and manage documentation and knowledge bases. A security flaw in its AI-powered summarization feature allows unauthorized visitors to inject malicious scripts into documentation pages. If an administrator or another user views these pages, the attacker could potentially take over their session, steal sensitive data, or modify site content.

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

## Quick answers

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

**How severe is CVE-2026-11371?** Informational severity, with a CVSS score of 8.8, published 16 July 2026.

**Which products and versions are affected?** WPDeveloper BetterDocs < 4.5.5.

**Is there a fix for CVE-2026-11371?** A patch was published on 2026-07-16: Fixed in version 4.5.5 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-11371 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-11371?** 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 stored Cross-Site Scripting (XSS) vulnerability exists in the BetterDocs plugin for WordPress due to insufficient sanitization of AI-generated content. The AI Doc Summarizer feature is exposed to unauthenticated users, who can use prompt injection techniques to force the AI to generate a malicious JavaScript payload. Because the plugin stores and displays this output without proper encoding or sanitization, the payload executes in the context of any user viewing the documentation page. This can lead to session hijacking or administrative account takeover. Exploitation requires the AI Doc Summarizer feature to be enabled with a valid API key. The issue is fixed in version 4.5.5.

## Affected products

- WPDeveloper BetterDocs < 4.5.5

## Timeline

- 2026-06-25: disclosed
- 2026-07-16: advisory: NVD publication date
- 2026-07-16: patched: Fixed in version 4.5.5

## References

- [https://wpscan.com/vulnerability/db41e3db-74c2-4b94-bbff-bd1493295241/](https://wpscan.com/vulnerability/db41e3db-74c2-4b94-bbff-bd1493295241/)

## Related threats

- [WPDeveloper BetterDocs Contributor XSS](https://junglewise.ai/threats/cve-2026-65562-wpdeveloper-betterdocs-contributor-xss)
- [wpdevteam BetterDocs SQL injection in lang parameter](https://junglewise.ai/threats/cve-2026-15104-wpdevteam-betterdocs-sql-injection-in-lang-parameter)
- [wpdevteam BetterDocs Stored XSS in CategorySlateLayout blockId](https://junglewise.ai/threats/cve-2026-12157-wpdevteam-betterdocs-stored-xss-in-categoryslatelayout-blockid)
