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

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts via AI prompt injection in BetterDocs, leading to stored XSS and potential admin account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-11371?

CVE-2026-11371 is a medium-severity cross-site scripting vulnerability in Unknown BetterDocs, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-11371?

How do I fix CVE-2026-11371?

No fix has been published for CVE-2026-11371 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-11371 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-11371 exists.

Sources

Also known as GHSA-x6ph-p955-jvgx.

Is CVE-2026-11371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free