Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain WordPress contributor credentials
-
DeliveryAuthenticate and access block editor
-
ExploitInject script payload via sectionTitleTag or articleTitleTag attribute
-
InstallSave page to persist payload in database
-
C2Victim browses injected documentation page
-
ExecuteStored XSS executes in victim browser
-
ImpactHarvest session token or perform authenticated actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account with contributor-level privileges or higher (PR:L per CVSS vector). The attacker must have the ability to create or edit pages containing weDocs Gutenberg blocks, specifically the Sidebar block that renders 'sectionTitleTag' and 'articleTitleTag' attributes. The weDocs plugin must be installed and active on the target WordPress site. A victim user (any role, including unauthenticated visitors if the documentation is publicly accessible) must visit the page containing the injected content for the XSS payload to execute. Exploitation is limited by: (1) the requirement for a pre-existing contributor-level account, which is not publicly available by default; (2) the need for the specific weDocs plugin to be installed and active; (3) the need for a victim to passively browse to the injected page. |
| Impact | The vendor-assigned CVSS 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects the cross-site scope change inherent to stored XSS but warrants scrutiny: the UI:N metric is debatable for stored XSS, since a victim must passively visit the injected page for the payload to fire - a more precise rating would use UI:R, yielding approximately 5.4. Authentication is required at contributor level (PR:L), which is the primary limiting factor in real-world risk. WordPress contributor access is granted deliberately and is not publicly available by default, constraining the attacker pool. No CISA KEV listing and no confirmed public exploit code exist at time of analysis, and EPSS data was not provided. Real-world priority is moderate: the attack requires an authenticated internal user with edit access, but the persistent nature of stored XSS and scope-changed impact (C:L/I:L affecting all page visitors) elevate it above a purely theoretical concern for sites that allow untrusted contributors. |
| Exploit ScenarioDerived | An authenticated WordPress user with contributor-level access creates or edits a weDocs documentation page and sets the 'sectionTitleTag' block attribute to a value containing a malicious script tag (e.g., injecting an XSS payload via the block editor's attribute input). The payload is stored in the post database without sanitization. When any site visitor - including administrators - browses the documentation page, the unsanitized attribute is rendered into the page HTML by render.php and the script executes in the visitor's browser, potentially stealing session cookies or performing actions on behalf of the victim. No public proof-of-concept exploit code has been confirmed, but the attack technique is well-understood and requires only standard block editor access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Stored Cross-Site Scripting in the weDocs WordPress plugin (versions through 2.3.0) allows authenticated contributors to persist malicious JavaScript in documentation pages by injecting arbitrary values into the 'sectionTitleTag' and 'articleTitleTag' Gutenberg block attributes, which are rendered without sanitization or output escaping in Sidebar block render.php. Any WordPress user who subsequently visits an injected documentation page will execute the attacker's script in their browser context, enabling session hijacking, credential harvesting, or defacement. No public exploit code or CISA KEV listing has been identified, but the low privilege bar (contributor) makes this accessible to a broad class of authenticated WordPress users.
RemediationAI
An upstream fix is available via WordPress plugin repository changeset 3589430 (https://plugins.trac.wordpress.org/changeset?old=3589430%40wedocs&new=3589430%40wedocs), which addresses the missing sanitization and output escaping in render.php. Site administrators should update weDocs to the first release beyond 2.3.0 that incorporates this changeset - the exact patched version number was not independently confirmed from the available data, so administrators should check the WordPress plugin dashboard or the weDevs plugin page for the latest available release and update immediately. As a compensating control pending update, restrict the WordPress contributor role to fully trusted users only, or temporarily disable the weDocs Sidebar block via a block-disabling plugin. Disabling the block will prevent new injection but will not sanitize payloads already stored in existing page content.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
weDocs (by weDevs, CPE: cpe:2.3:a:wedevs:wedocs) is a WordPress Gutenberg block-based knowledge base and documentation plugin. The vulnerability resides in the Sidebar block renderer at assets/build/blocks/Sidebar/render.php (confirmed at lines 154, 540, and 634 of version 2.3.0 via plugin Trac). Block attributes 'sectionTitleTag' and 'articleTitleTag' allow contributors to control HTML tag names used for section and article headings in rendered output. Due to CWE-79 (Improper Neutralization of Input During Web Page Generation), these attributes are echoed directly into the HTML output without server-side sanitization or WordPress's esc_html/esc_attr output escaping, allowing tag values to carry injected script payloads that persist in post content and execute on page load.
Know when Wedocs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Stored XSS requires a victim to visit the page (UI:R); contributor authentication required (PR:L); scope changes to victim browser (S:C).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in weDocs WordPress Plugin XSS and Authorization Flaws
View all 3Missing authorization (CWE-862) in the weDocs WordPress documentation plugin, affecting versions through 2.6.1, allows u
Stored cross-site scripting in the weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot WordPress p
Missing authorization in the weDocs WordPress plugin through 2.6.1 allows remote unauthenticated attackers to reach an a
Missing authorization in weDevs weDocs WordPress plugin through version 2.1.18 allows unauthenticated remote attackers t
EUVD-2026-41470
GHSA-pr6j-r5mf-cj49
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB