WordPress Plugin Vulnerabilities

BetterDocs < 4.5.5 - Unauthenticated Stored XSS via AI Doc Summarizer Prompt Injection

Description

The plugin 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.

Exploitation requires the AI Doc Summarizer feature to be enabled with a configured AI provider API key.

Proof of Concept

Affects Plugins

Fixed in 4.5.5

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
mcdruid
Submitter
mcdruid
Verified
Yes

Timeline

Publicly Published
2026-06-25 (about 2 months ago)
Added
2026-06-25 (about 2 months ago)
Last Updated
2026-08-26 (about 20 hours ago)

Other