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.
Published: 2026-11-07
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting via contributor‑level block attribute
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Sat, 07 Nov 2026 11:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-07T18:06:01.105Z

Reserved: 2026-10-02T12:28:20.086Z

Link: CVE-2026-104760

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-07T12:17:41.637

Modified: 2026-11-07T18:17:10.900

Link: CVE-2026-104760

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-07T12:30:17Z

Weaknesses
  • CWE-79

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