Skip to main content

weDocs WordPress Plugin CVE-2026-12734

| EUVDEUVD-2026-41467 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-03 Wordfence GHSA-fm2m-jw2h-jf5r
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Recon
    Obtain contributor-level WordPress credentials
  2. Delivery
    Open block editor on documentation page
  3. Exploit
    Set connectorWidth attribute to JavaScript payload
  4. Install
    Publish page with injected Sidebar block
  5. C2
    Victim navigates to affected page
  6. Execute
    Payload executes in victim browser
  7. Impact
    Session token exfiltration or page defacement

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

Exploitation requires the attacker to authenticate to the WordPress site with at minimum a contributor role - confirmed by CVSS PR:L. This is not an unauthenticated attack. The specific attack surface is the 'connectorWidth' block attribute of the weDocs Sidebar block, which must be instantiated on at least one published page or post for the payload to reach victims. The plugin version must be 2.3.0 or earlier. Payload execution against victims depends on them navigating to a page containing the injected Sidebar block; the attacker does not need to direct victims to a crafted URL (stored, not reflected). Exploitation is constrained by: (1) the requirement for contributor-level authentication - sites that do not permit open contributor registration have a significantly reduced attack surface; (2) the need for a published page with the weDocs Sidebar block present; and (3) victim browser JavaScript execution being enabled (standard in all modern browsers).

Impact

The CVSS 6.4 Medium rating reflects a network-accessible, low-complexity attack requiring low privileges (contributor role, PR:L) with changed scope - appropriate for stored XSS that executes cross-context in victim browsers. The PR:L requirement is the primary real-world risk limiter: exploitation is gated on obtaining or abusing contributor-level WordPress access, which is non-trivial on hardened sites that do not permit open registration at that role. The changed scope (S:C) correctly captures that injected scripts reach beyond the contributor's own session to all visitors. EPSS data was not provided in the available intelligence; KEV status is absent (not listed in CISA KEV), and no public exploit has been identified. This places it in the 'important but not urgent' tier for most deployments - sites permitting open contributor registration or those with many contributors should treat this as higher priority. No conflict between CVSS vector and description is observed: network vector and low-privilege authentication align with block-editor-based injection.

Exploit ScenarioDerived

An attacker who holds or acquires contributor-level credentials on a target WordPress site opens the block editor, inserts a weDocs Sidebar block on a documentation page, and sets the 'connectorWidth' attribute to a crafted value containing a JavaScript payload (e.g., an event handler or script tag). Upon publishing, the payload is stored in the WordPress database and rendered verbatim by render.php on every subsequent page load, executing in the browsers of all visitors - authenticated or not - who access the affected page. No public exploit code has been identified at time of analysis, but the attack requires only standard block editor interaction and knowledge of the vulnerable attribute name.

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

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

Alert me

AnalysisAIv1 – Jul 03, 2026

Stored Cross-Site Scripting in the weDocs WordPress plugin (all versions through 2.3.0) allows authenticated contributors to inject persistent malicious scripts via the unsanitized 'connectorWidth' block attribute in the Sidebar block renderer (render.php lines 138 and 161). Any site visitor loading an affected documentation page triggers the payload in their browser, enabling session hijacking, credential harvesting, or malicious redirects. No active exploitation is confirmed in CISA KEV and no public exploit has been identified at time of analysis, though the attack technique is low-complexity for anyone with block editor knowledge.

RemediationAI

Update the weDocs plugin to the version released after 2.3.0 that incorporates changeset 3589430 from the WordPress plugin SVN repository (https://plugins.trac.wordpress.org/changeset?reponame=&old=3589430%40wedocs&new=3589430%40wedocs); the exact patched release version number is not independently confirmed from available data and should be verified via the WordPress plugin page or the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/11d68c98-3d7e-42af-be61-6bb5428b73b6. Until patching is possible, restrict contributor-level role assignment strictly to trusted, vetted users - this removes the attack surface entirely since exploitation requires at minimum contributor access. If the Sidebar block feature can be disabled in weDocs plugin settings, doing so eliminates the specific injection point at the cost of losing sidebar navigation functionality on documentation pages. Sites using Wordfence WAF may receive virtual patching coverage; confirm rule applicability with Wordfence.

Affected VersionsENISA

weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot 0 ≤2.3.0

Affected Packages

euvd wedocs_ai_powered_knowledge_base_docs_documentation_wiki_ai_chatbot 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 weDocs plugin (CPE: cpe:2.3:a:wedevs:wedocs) provides AI-augmented knowledge base and documentation functionality for WordPress via the block editor (Gutenberg). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the server-side PHP render callback for the Sidebar block echoes the 'connectorWidth' block attribute directly into HTML output at render.php lines 138 and 161 without applying WordPress escaping functions such as esc_attr() or esc_html(). WordPress block attributes are user-controlled values stored in post content in the database; unsanitized server-side rendering of these values means the injected script persists and executes for every subsequent page load. A changeset (3589430) has been committed to the WordPress plugin SVN repository, indicating the vulnerability has been addressed upstream.

Know when Wedocs 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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS requires a victim to load the page (UI:R); contributor access required (PR:L); scope changes to victim browser (S:C); no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'connectorWidth' Block Attribute in all versions up to, and including, 2.3.0 due to insufficient input sanitization and output escaping. 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.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress knowledge base plugin, not top-tier ecosystem-wide
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.2%
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.

Related Vulnerabilities in weDocs WordPress Plugin XSS and Authorization Flaws

View all 3

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