Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Contributor privileges required (PR:L), user interaction (UI:R), scope change (S:C), low impacts.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in BetterDocs <= 4.6.2 versions.
AnalysisAI
Stored Cross-Site Scripting (XSS) in the BetterDocs WordPress plugin version 4.6.2 and earlier allows authenticated users with Contributor-level access to inject arbitrary web scripts. When an administrator views the crafted content, the script executes in their session, potentially leading to session hijacking or content manipulation. No active exploitation has been publicly reported.
Technical ContextAI
The vulnerability is a stored (persistent) cross-site scripting issue (CWE-79) within the BetterDocs plugin, a WordPress plugin for creating documentation and knowledge bases. According to the CPE data (cpe:2.3:a:wpdeveloper:betterdocs:*:*:*:*:*:*:*:*), all versions up to 4.6.2 are affected. The root cause is improper neutralization of user-supplied input when Contributor-level users create or edit documentation, allowing malicious HTML/JavaScript to be saved and later executed in the context of an administrator's browser. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) confirms low attack complexity, required low privileges, and user interaction (admin viewing).
RemediationAI
Update the BetterDocs plugin to version 4.6.3 or later, which contains the fix from the vendor. As a general mitigation, restrict user roles to limit Contributor access to trusted users only, and consider using a security plugin that adds a Content Security Policy (CSP) to mitigate XSS impact. The patch is available from the WordPress plugin repository and the vendor advisory linked above. No workarounds other than updating or disabling the plugin are known.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-49235
GHSA-wcv4-ppqq-x345