CVE-2026-104760

weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'modalPlaceholder' Block Attribute

Published Nov 7, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The weDocs WordPress plugin contains a stored XSS flaw in the modalPlaceholder block attribute that is not properly sanitized or escaped. Authenticated users with contributor or higher privileges can save a malicious payload in a block, and the payload will run in the browsers of any admin or editor who preview or view the pending post. This allows arbitrary script execution, potentially enabling defacement, cookie theft, or session hijacking for viewers of that content. The weakness is an insufficient input validation and output encoding flaw, classified as CWE‑79.

Affected Systems

All installations of the weDocs plugin by WeDevs for WordPress up to version 2.6.1 are affected. Any site running these versions and allowing contributors to create or edit posts with modalPlaceholder blocks could be exposed.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires contributor‑level access, it cannot be exploited by unauthenticated attackers, yet any site with contributors can be used as an attack vector. The risk of impact is heightened on high‑traffic sites where pending posts are viewed by admins or editors frequently.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the weDocs plugin to the latest version that removes the vulnerable block handling or applies the fix published by WeDevs.
  • If an immediate upgrade is not feasible, restrict contributor or editor roles from editing or previewing pending posts, or remove the modalPlaceholder block from the block editor entirely for those users.
  • Implement a content security policy that disallows inline scripts and restricts execution of scripts not loaded from trusted sources, to mitigate the impact of any stored payloads that may persist in the database.

Generated by OpenCVE AI on November 7, 2026 at 12:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wedevs
Wedevs wedocs
Wordpress-extensions
Wordpress-extensions wedocs
Vendors & Products Wedevs
Wedevs wedocs
Wordpress-extensions
Wordpress-extensions wedocs
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'modalPlaceholder' Block Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 7, 2026, 6:06 PM
Reserved
Oct 2, 2026, 12:28 PM
Status
Deferred
Published
Nov 7, 2026, 12:17 PM
Modified
Nov 7, 2026, 6:17 PM