weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'modalPlaceholder' Block Attribute
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 7, 2026
- Updated
- Nov 7, 2026
- Reserved
- Oct 2, 2026
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.
| Product | Versions |
|---|---|
| weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot wedevs | 2.6.1 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/590e7782-ac7a-469f-a893-05627404a1b3?source=cve
- https://plugins.trac.wordpress.org/browser/wedocs/tags/2.6.0/assets/build/blocks/QuickSearch/render.php#L439
- https://plugins.trac.wordpress.org/browser/wedocs/tags/2.6.0/assets/build/blocks/QuickSearch/render.php#L425
- https://plugins.trac.wordpress.org/browser/wedocs/tags/2.6.0/assets/build/blocks/QuickSearch/render.php#L445
- https://plugins.trac.wordpress.org/browser/wedocs/tags/2.6.0/assets/build/blocks/QuickSearch/render.php#L231
- https://plugins.trac.wordpress.org/browser/wedocs/tags/2.6.0/assets/build/blocks/QuickSearch/render.php#L852
- https://plugins.trac.wordpress.org/changeset/3783119/wedocs/trunk/assets/build/blocks/QuickSearch/render.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.