CVE-2026-12731

weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'sectionTitleTag' and 'articleTitleTag' Block Attributes

Published Jul 3, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'sectionTitleTag' and 'articleTitleTag' Block Attributes in all versions up to, and including, 2.3.0 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.

Analysis

AI-generated

Technical impact

The weDocs plugin for WordPress contains a stored cross‑site scripting flaw that arises from the lack of proper sanitization and escaping in the block attributes "sectionTitleTag" and "articleTitleTag". Because these attributes are rendered directly into page content, an authenticated user with contributor-level or higher privileges can embed arbitrary JavaScript code. When a visitor subsequently views a page that contains the compromised block, the injected script runs in the victim’s browser and can deface content, steal session cookies, or perform phishing actions from the client side.

Affected Systems

All WordPress sites that have installed the weDocs plugin version 2.3.0 or earlier are affected. The plugin is distributed under the wedevs:weDocs product line. Sites that have not applied an update beyond 2.3.0 remain vulnerable to the stored XSS through the "sectionTitleTag" and "articleTitleTag" attributes.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.4, reflecting medium severity. Its EPSS score is less than 1% and it is not listed in the CISA KEV catalogue, indicating a low probability of widespread exploitation. Attackers must be authenticated with contributor-level access or higher, after which they can inject malicious payloads that will execute in the browsers of any user who visits the affected page. While the exploit does not grant server‑side code execution or direct access to site files, it can compromise user sessions and deface or manipulate visible content at the client level.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the weDocs plugin to a version newer than 2.3.0 as soon as it becomes available.
  • Identify and remove any injected JavaScript from the "sectionTitleTag" and "articleTitleTag" attributes in existing posts or pages.
  • Revoke contributor or higher user privileges until the plugin is patched to reduce the attack surface.

Generated by OpenCVE AI on August 1, 2026 at 20:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wedevs
Wedevs wedocs: Ai Powered Knowledge Base, Docs, Documentation, Wiki & Ai Chatbot
Wordpress
Wordpress wordpress
Vendors & Products Wedevs
Wedevs wedocs: Ai Powered Knowledge Base, Docs, Documentation, Wiki & Ai Chatbot
Wordpress
Wordpress wordpress
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 'sectionTitleTag' and 'articleTitleTag' Block Attributes in all versions up to, and including, 2.3.0 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.
Title weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'sectionTitleTag' and 'articleTitleTag' Block Attributes
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 7, 2026, 5:01 PM
Reserved
Jun 19, 2026, 3:59 PM
Status
Deferred
Published
Jul 3, 2026, 2:16 AM
Modified
Jul 7, 2026, 6:16 PM