Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as contributor-level user
-
DeliveryInject script into modalPlaceholder block attribute
-
ExploitSave post in pending-review status
-
ExecutionAdmin or editor previews pending post
-
ImpactPayload executes in privileged browser session
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 | Requires an authenticated WordPress account with contributor-level capabilities or above (PR:L) on a site running weDocs ≤2.6.1, plus the ability to insert the plugin's QuickSearch block and set its 'modalPlaceholder' attribute, which is stored without sufficient sanitization/output escaping. The payload is saved in a pending-review post (a capability contributors inherently have), and execution is gated on a privileged user - an administrator or editor - actually previewing or viewing that pending post. Limiting factors: the site must grant untrusted users contributor+ accounts (open registration or shared authorship), and a higher-privileged user must open the malicious post for the script to fire; single-author or admin-only sites have minimal exposure. |
| Impact | This is a moderate-severity stored XSS (CVSS 6.4) and the available signals are internally consistent rather than conflicting. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network reachability, low complexity, and - critically - PR:L, meaning exploitation requires an authenticated account at contributor level or above, so this is NOT an unauthenticated flaw despite AV:N. The scope change (S:C) correctly reflects that the injected script executes in the session context of a different, higher-privileged user (admin/editor) who views the attacker's pending post. It is not in CISA KEV (no confirmed active exploitation), and no EPSS score was provided in the input, so widespread automated exploitation cannot be asserted. The vuln.today decision label is 'this_month' - a routine patch-cycle priority, not an emergency - which aligns with a privilege-requiring, UI-dependent stored XSS. Realistically this is a genuine-but-not-urgent issue: it matters most on multi-author sites that grant untrusted users contributor accounts, and far less on single-admin blogs. Note one scoring nuance: the description states the payload executes 'whenever a user accesses an injected page'/when an admin 'previews or views the pending post', which implies victim interaction, yet the vector is UI:N - a defensible stored-XSS convention, but defenders should understand a privileged user must actually open the malicious pending post for the payload to fire. |
| Exploit ScenarioDerived | An attacker with a contributor-level WordPress account inserts a malicious script into the 'modalPlaceholder' attribute of the weDocs QuickSearch block and saves the post in pending (draft-for-review) status. When an administrator or editor opens that pending post to review or preview it, the stored script executes in their authenticated browser session, enabling actions such as session/cookie theft or administrative actions on their behalf. No public exploit was identified in the provided input; the references are the Wordfence advisory and plugin source-code lines, not a verified working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 07, 2026
Stored cross-site scripting in the weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot WordPress plugin affects all versions up to and including 2.6.1. An authenticated attacker holding contributor-level access or above can store an unsanitized payload in the QuickSearch block's 'modalPlaceholder' attribute and save it in a pending-review post, so the script fires in the browser of any administrator or editor who previews or opens that post - a scope change that exposes the higher-privileged session (CVSS 6.4, PR:L, S:C). Exploitation requires the site to hand contributor+ accounts to untrusted users and a privileged user to actually view the pending post; no public exploit code, PoC reference, or CISA KEV entry is associated with this CVE at the time of analysis, and the priority signal is 'this_month' rather than emergency action.
RemediationAI
The upstream correction is visible in the WordPress plugin repository changeset 3783119, which rewrites assets/build/blocks/QuickSearch/render.php (https://plugins.trac.wordpress.org/changeset/3783119/wedocs/trunk/assets/build/blocks/QuickSearch/render.php); treat that as an upstream fix commit, since a tagged patched release number is not independently confirmed by the available data, so verify the current plugin version in the WordPress.org directory before upgrading and confirm that the released build contains the changeset. Until a patched build is installed, reduce exposure by applying the prerequisites the assessment identifies: restrict contributor-level and higher accounts to trusted users, since the attacker must be able to create posts containing the QuickSearch block, and keep an editor or administrator from previewing or opening pending submissions from untrusted authors, as execution only occurs when a privileged user views the malicious post. Sites that allow open registration with contributor privileges or shared authorship carry the most exposure and should close that path first; single-author and admin-only sites have minimal exposure. Because the flaw is output escaping in the block renderer, sanitizing or stripping the 'modalPlaceholder' attribute from existing QuickSearch blocks during review is an additional compensating measure with the trade-off of altering saved block content and potentially breaking the search modal placeholder text.
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
WordPress block-based content stores each block's attributes as JSON inside HTML comment delimiters in post_content, and the plugin's QuickSearch block renders server-side through assets/build/blocks/QuickSearch/render.php. The cited lines in the 2.6.0 tag of that file (231, 425, 439, 445, 852) are where the 'modalPlaceholder' attribute reaches the page, and the associated changeset 3783119 modifies that same render.php in trunk, indicating the fix is output escaping/input sanitization at the render layer rather than a change to the block editor itself. This is a classic CWE-79 improper neutralization of user input during web page generation: the value is neither sanitized on save nor escaped on output, so HTML and script markup survive into the rendered document. The CVSS vector scores S:C (scope change) because the injected script executes inside the session of a more privileged user than the one who stored it, meaning the impact can extend beyond the vulnerable component; C:L and I:L reflect limited confidentiality and integrity effects consistent with script execution in an admin session. Trigger mechanics beyond the stored attribute and the preview/view step are not described in the available sources.
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
Contributor authentication required (PR:L), stored payload needs no attacker interaction (UI:N), and execution in a higher-privileged user's session crosses a security boundary (S:C) with limited C/I impact typical of XSS.
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 'modalPlaceholder' Block Attribute in all versions up to, and including, 2.6.1 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. Because Contributors can save posts in pending status, a malicious payload in the modalPlaceholder block attribute will execute in the browser of any admin or editor who previews or views the pending post.
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.
Missing authorization (CWE-862) in the weDocs WordPress documentation plugin, affecting versions through 2.6.1, allows u
Stored Cross-Site Scripting in the weDocs WordPress plugin (versions through 2.3.0) allows authenticated contributors to
Stored Cross-Site Scripting in the weDocs WordPress plugin (all versions through 2.3.0) allows authenticated contributor
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
Missing authorization on the BetterDocs-to-weDocs migration AJAX endpoint in the weDocs WordPress plugin (versions up to
EUVD-2026-119146
GHSA-6f4c-qr4q-pvj4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB