Skip to main content

weDocs WordPress Plugin EUVDEUVD-2026-41470

| CVE-2026-12731 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-03 Wordfence GHSA-pr6j-r5mf-cj49
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain WordPress contributor credentials
  2. Delivery
    Authenticate and access block editor
  3. Exploit
    Inject script payload via sectionTitleTag or articleTitleTag attribute
  4. Install
    Save page to persist payload in database
  5. C2
    Victim browses injected documentation page
  6. Execute
    Stored XSS executes in victim browser
  7. Impact
    Harvest 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot 0 ≤2.3.0

Affected Packages

euvd wedocs_ai_powered_knowledge_base_docs_documentation_wiki_ai_chatbot no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS requires a victim to visit the page (UI:R); contributor authentication required (PR:L); scope changes to victim browser (S:C).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress documentation plugin, not universally deployed
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy