Quick answers
- Is CVE-2026-12731 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-12731 being exploited in the wild.
- How severe is CVE-2026-12731?
- 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-12731?
- 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-12731 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-12731?
- 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 WordPress plugin is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping on the 'sectionTitleTag' and 'articleTitleTag' block attributes within the Sidebar component. An authenticated attacker with at least contributor-level permissions can exploit this by injecting malicious JavaScript into these attributes. Because the plugin fails to properly neutralize this input before it is rendered on the page, the script executes in the context of any user who views the affected documentation page. This vulnerability is present in all versions up to and including 2.3.0. A patch has been released in subsequent versions to address the sanitization failure.
Affected products
- weDevs weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot up to, and including, 2.3.0
Timeline
- 2026-07-03: advisory: NVD publication date
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/changeset?sfp_email=&sfph_mail=&reponame=&old=3589430%40wedocs&new=3589430%40wedocs&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cda6d5d5-b49a-40f4-9c83-c1c569891339?source=cve