CVE-2026-104760
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
07/11/2026
Last modified:
07/11/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.
Impact
Base Score 3.x
6.40
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- 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#L425
- 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#L445
- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/590e7782-ac7a-469f-a893-05627404a1b3?source=cve


