# CVE-2026-12734: weDevs weDocs Stored XSS in connectorWidth Block Attribute

Source: https://junglewise.ai/threats/cve-2026-12734-wedevs-wedocs-stored-xss-in-connectorwidth-block-attribute  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-03. Updated: 2026-07-03  
License: CC BY 4.0 with a link back

CVE-2026-12734 · Severity: medium · CVSS 6.4 · Published 2026-07-03

The weDocs plugin for WordPress, which provides documentation and AI chatbot features, contains a security flaw that allows users with contributor-level access to inject malicious scripts into pages. These scripts execute automatically when other users, including administrators, visit the affected pages. This could lead to unauthorized actions being performed on behalf of other users or the theft of sensitive session information.

Technologies: [weDevs weDocs](https://junglewise.ai/threats/technologies/wedocs). Vendors: [weDevs](https://junglewise.ai/threats/vendors/wedevs).

## Quick answers

**Is CVE-2026-12734 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-12734 being exploited in the wild.

**How severe is CVE-2026-12734?** Medium severity, with a CVSS score of 6.4, published 3 July 2026.

**Which products and versions are affected?** weDevs weDocs up to, and including, 2.3.0.

**Is there a fix for CVE-2026-12734?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-12734 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-12734?** Check whether you run weDevs weDocs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The weDocs plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping on the 'connectorWidth' block attribute within the Sidebar component. An authenticated attacker with contributor-level permissions or higher can inject arbitrary web scripts into a page. Because the payload is stored in the database, the script executes in the context of any user's browser who views the compromised page. This vulnerability is tracked as CWE-79 and affects all versions up to and including 2.3.0. A patch has been released in subsequent versions to address the improper neutralization of input.

## Affected products

- weDevs weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot up to, and including, 2.3.0

## Timeline

- 2026-07-03: disclosed
- 2026-07-03: advisory

## References

- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/assets/build/blocks/Sidebar/render.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/assets/build/blocks/Sidebar/render.php)
- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/assets/build/blocks/Sidebar/render.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/assets/build/blocks/Sidebar/render.php)
- [https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3589430%40wedocs&new=3589430%40wedocs&sfp_email=&sfph_mail=](https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3589430%40wedocs&new=3589430%40wedocs&sfp_email=&sfph_mail=)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/11d68c98-3d7e-42af-be61-6bb5428b73b6?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/11d68c98-3d7e-42af-be61-6bb5428b73b6?source=cve)

## Related threats

- [weDevs weDocs broken access control in page visibility](https://junglewise.ai/threats/cve-2026-121760-missing-authorization-vulnerability-in-wedevs-wedocs-wedocs)
- [weDevs weDocs broken access control vulnerability](https://junglewise.ai/threats/cve-2026-121767-missing-authorization-vulnerability-in-wedevs-wedocs-wedocs)
- [weDevs weDocs Stored XSS in Sidebar Block Attributes](https://junglewise.ai/threats/cve-2026-12731-wedevs-wedocs-stored-xss-in-sidebar-block-attributes)
- [weDevs weDocs missing authorization in do_migration function](https://junglewise.ai/threats/cve-2026-12729-wedevs-wedocs-missing-authorization-in-do-migration-function)
- [weDevs weDocs missing authorization in access control levels](https://junglewise.ai/threats/cve-2026-39520-wedevs-wedocs-missing-authorization-in-access-control-levels)
