Skip to main content

weDocs CVE-2026-104760

| EUVDEUVD-2026-119146 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-07 Wordfence GHSA-6f4c-qr4q-pvj4
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as contributor-level user
  2. Delivery
    Inject script into modalPlaceholder block attribute
  3. Exploit
    Save post in pending-review status
  4. Execution
    Admin or editor previews pending post
  5. Impact
    Payload 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.

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

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

Alert me

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

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

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

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

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

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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 '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

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche WordPress documentation/knowledge-base plugin, modest install base
Data Quality
3 sources
Confidence: Low

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