BetterDocs WordPress Plugin Unauthenticated Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the BetterDocs WordPress plugin, affecting versions prior to 4.5.5. The issue arises because the plugin fails to properly sanitize AI-generated documentation summaries before saving and displaying them. This vulnerability is accessible to unauthenticated users, who can inject malicious payloads that execute in the browsers of anyone viewing the affected page, including administrators. Exploitation requires the AI Doc Summarizer feature to be enabled, along with a configured AI provider API key.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Remediation

Users are advised to update the BetterDocs WordPress plugin to version 4.5.5 or later.

Added: Jul 16, 2026, 7:29 AM
Updated: Jul 16, 2026, 7:29 AM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
5.4
exploitability
7.9
remediation
7.7
relevance
9.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.