CVE-2026-11371: CWE-79 Cross-Site Scripting (XSS) in BetterDocs
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.
AI Analysis
Technical Summary
The BetterDocs WordPress plugin prior to version 4.5.5 contains a stored XSS vulnerability (CWE-79) due to improper sanitization of an AI-generated documentation summary. Because the feature generating this summary is exposed to unauthenticated users, attackers can submit crafted input that results in malicious script execution in the context of any user viewing the page, including privileged users. This vulnerability arises from the lack of input validation and output encoding in the plugin's handling of AI-generated content.
Potential Impact
An attacker can inject malicious JavaScript code that executes in the browsers of users visiting the affected documentation pages. This can lead to session hijacking, privilege escalation, or other malicious actions performed with the privileges of the victim user, including administrators. The vulnerability affects the confidentiality and integrity of user sessions and data within the WordPress environment using the affected plugin version.
Mitigation Recommendations
No official patch or remediation is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates and apply any official fixes once available. Until then, consider disabling the AI-generated documentation summary feature or restricting access to it if possible to reduce exposure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-11371: CWE-79 Cross-Site Scripting (XSS) in BetterDocs
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.
CVSS v3.1
Score 6.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The BetterDocs WordPress plugin prior to version 4.5.5 contains a stored XSS vulnerability (CWE-79) due to improper sanitization of an AI-generated documentation summary. Because the feature generating this summary is exposed to unauthenticated users, attackers can submit crafted input that results in malicious script execution in the context of any user viewing the page, including privileged users. This vulnerability arises from the lack of input validation and output encoding in the plugin's handling of AI-generated content.
Potential Impact
An attacker can inject malicious JavaScript code that executes in the browsers of users visiting the affected documentation pages. This can lead to session hijacking, privilege escalation, or other malicious actions performed with the privileges of the victim user, including administrators. The vulnerability affects the confidentiality and integrity of user sessions and data within the WordPress environment using the affected plugin version.
Mitigation Recommendations
No official patch or remediation is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates and apply any official fixes once available. Until then, consider disabling the AI-generated documentation summary feature or restricting access to it if possible to reduce exposure. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-06-05T12:01:56.518Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5877a968715ace43806850
Added to database: 07/16/2026, 06:18:17 UTC
Last enriched: 07/16/2026, 06:33:29 UTC
Last updated: 07/16/2026, 19:47:30 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.