Betterdocs Knowledge Base Docs Faq Solution For Elementor Block Editor
CVE-2026-3875
|
EUVD-2026-23209
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCreate or compromise contributor account
-
DeliveryPublish shortcode with embedded XSS payload
-
ExploitPayload stored in database unsanitized
-
InstallUser visits affected page
-
C2Unescaped payload renders in HTML
-
ExecuteJavaScript executes in visitor's browser context
-
ImpactSession token or credentials exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated access with contributor-level WordPress role or above is required. The attacker must have the ability to create or edit pages/posts containing shortcodes - typically granted to contributors, authors, and editors by default. The 'betterdocs_feedback_form' shortcode must be enabled in the BetterDocs plugin settings (default configuration). The vulnerable plugin must be installed and activated. Exploitation does not require victim interaction beyond viewing an affected page - once the XSS payload is stored and the page is published, all subsequent visitors are compromised without any action on their part. Public-facing WordPress sites without user registration restrictions are at higher risk because attackers can create accounts to gain contributor access; private or invite-only sites face lower risk if account creation is tightly controlled. |
| Impact | CVSS 6.4 with network attack vector and low complexity indicates meaningful risk, but several mitigating factors reduce real-world severity. The vulnerability requires authenticated access at contributor level or above - meaning attackers must already have WordPress account creation privileges or compromise an existing contributor account, eliminating opportunistic exploitation of public-facing sites with default access controls. The lack of public exploit code and absence from CISA KEV suggest limited real-world weaponization despite the straightforward nature of XSS payloads. However, CVSS scope change (S:C) correctly reflects that stored XSS affects other users beyond the attacker, making this meaningful for multi-user WordPress installations, particularly those allowing user registration. Organizations should prioritize this patch if they permit contributor-level user registration or if they host third-party authored content. For private or invite-only WordPress instances, the risk is lower. The Wordfence reference and visible patch availability (version 4.3.9) indicate coordinated responsible disclosure. |
| Exploit ScenarioDerived | An attacker with a compromised or self-created contributor account logs into the WordPress admin panel and edits a published page or post. They insert the shortcode [betterdocs_feedback_form feedback_title='Test' onclick='fetch(atob("aHR0cHM6Ly9hbC5jb20vXCI+PHNjcmlwdD5hbGVydCgnWFNTJykgPC9zY3JpcHQ="))'] with JavaScript payload embedded in an attribute. The payload is stored in the database without sanitization. When any user (including administrators or site visitors) visits the affected page, the unescaped shortcode attribute is rendered in the HTML output, executing the malicious script in their browser context, stealing session cookies or redirecting to credential harvesting pages. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 16, 2026
Stored Cross-Site Scripting in BetterDocs WordPress plugin versions up to 4.3.8 allows authenticated attackers with contributor-level access to inject arbitrary JavaScript into pages via the 'betterdocs_feedback_form' shortcode due to insufficient input sanitization and output escaping. Injected scripts execute in the browsers of all users who view affected pages, enabling account compromise, credential theft, or malware distribution. No public exploit code or active exploitation has been identified at this time.
RemediationAI
Update BetterDocs to version 4.3.9 or later immediately via the WordPress admin dashboard (Plugins > Installed Plugins > BetterDocs > Update) or directly at plugins.wordpress.org. The patch applied by the vendor adds proper input sanitization and output escaping to the 'betterdocs_feedback_form' shortcode attribute handling (confirmed by changeset diff at plugins.trac.wordpress.org). No workarounds are available for older versions. As a temporary compensating control, site administrators can restrict contributor-level role assignment to trusted users only via Settings > Users and review existing contributor accounts for suspicious activity. However, this does not remediate existing stored XSS payloads that may already be present in published pages - stored XSS payloads must be manually removed from affected page content and post revisions before patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The BetterDocs plugin for WordPress provides knowledge base and FAQ functionality integrated with page builders like Elementor and the WordPress block editor. The vulnerability exists in the 'betterdocs_feedback_form' shortcode handler, which processes user-supplied shortcode attributes without proper sanitization before storing them in the database (Stored XSS) or escaping them during output rendering. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) issue where attacker-controlled data flows directly into HTML/JavaScript context without transformation. The shortcode attribute parsing mechanism likely passes untrusted input directly to template rendering functions, and the feedback form display code fails to apply WordPress escaping functions (esc_attr, wp_kses_post, etc.) appropriate for the output context.
Know when Betterdocs Knowledge Base Docs Faq Solution For Elementor Block Editor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The BetterDocs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'betterdocs_feedback_form' shortcode in all versions up to, and including, 4.3.8. This is due to insufficient input sanitization and output escaping on user supplied shortcode attributes. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
GHSA-2jv9-g2gr-pf4j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB