Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor-level WordPress credentials
-
DeliveryOpen block editor on documentation page
-
ExploitSet connectorWidth attribute to JavaScript payload
-
InstallPublish page with injected Sidebar block
-
C2Victim navigates to affected page
-
ExecutePayload executes in victim browser
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
Related Vulnerabilities in weDocs WordPress Plugin XSS and Authorization Flaws
View all 3Missing authorization (CWE-862) in the weDocs WordPress documentation plugin, affecting versions through 2.6.1, allows u
Stored cross-site scripting in the weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot WordPress p
Missing authorization in the weDocs WordPress plugin through 2.6.1 allows remote unauthenticated attackers to reach an a
Missing authorization in weDevs weDocs WordPress plugin through version 2.1.18 allows unauthenticated remote attackers t
EUVD-2026-41467
GHSA-fm2m-jw2h-jf5r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB