Skip to main content

Betterdocs Knowledge Base Docs Faq Solution For Elementor Block Editor CVE-2026-3875

| EUVDEUVD-2026-23209 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-16 Wordfence GHSA-2jv9-g2gr-pf4j
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Create or compromise contributor account
  2. Delivery
    Publish shortcode with embedded XSS payload
  3. Exploit
    Payload stored in database unsanitized
  4. Install
    User visits affected page
  5. C2
    Unescaped payload renders in HTML
  6. Execute
    JavaScript executes in visitor's browser context
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor 0 ≤4.3.8

Affected Packages

euvd betterdocs_knowledge_base_docs_faq_solution_for_elementor_block_editor no fix

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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy