Skip to main content

BetterDocs CVE-2026-65562

| EUVDEUVD-2026-49235 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-27 Patchstack GHSA-wcv4-ppqq-x345
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Log in as Contributor
  2. Delivery
    Create/edit BetterDocs page with XSS payload
  3. Exploit
    Admin views the page
  4. Execution
    Script executes in admin's browser
  5. Persist
    Steal admin session cookie
  6. Impact
    Impersonate admin

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

The attacker must have at least Contributor role in the WordPress site (authenticated, low privileges). The crafted content must be visited by a user with higher privileges, typically an administrator (user interaction required). No special configuration is necessary; the vulnerability exists in default BetterDocs installations. The attack is limited by the requirement for existing Contributor accounts and the need for an admin to view the injected content.

Impact

The CVSS base score of 6.5 (Medium) reflects the need for authenticated Contributor access and user interaction (admin must view the crafted content). The attack vector is network-accessible, and exploitation is automatable via crafted content. However, no public exploit code or active exploitation has been identified (no KEV listing, no POC mentioned). The EPSS score is not provided, but given the need for authenticated access and user interaction, the real-world risk is moderate. The vulnerability is scoped to impact confidentiality, integrity, and availability at a low level. It is not a high-priority threat unless the site allows Contributor registration and has active low-privilege contributors.

Exploit ScenarioDerived

A malicious user with Contributor-level access creates or edits a documentation page in BetterDocs and inserts a malicious script tag. When an administrator visits the page to review or approve it, the script executes, exfiltrating the administrator's session cookies to an attacker-controlled server. No public exploit code has been reported.

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

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

Alert me

AnalysisAIv1 – Jul 27, 2026

Stored Cross-Site Scripting (XSS) in the BetterDocs WordPress plugin version 4.6.2 and earlier allows authenticated users with Contributor-level access to inject arbitrary web scripts. When an administrator views the crafted content, the script executes in their session, potentially leading to session hijacking or content manipulation. No active exploitation has been publicly reported.

RemediationAI

Update the BetterDocs plugin to version 4.6.3 or later, which contains the fix from the vendor. As a general mitigation, restrict user roles to limit Contributor access to trusted users only, and consider using a security plugin that adds a Content Security Policy (CSP) to mitigate XSS impact. The patch is available from the WordPress plugin repository and the vendor advisory linked above. No workarounds other than updating or disabling the plugin are known.

Affected VersionsENISA

BetterDocs n/a ≤4.6.2

Affected Packages

euvd betterdocs 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

The vulnerability is a stored (persistent) cross-site scripting issue (CWE-79) within the BetterDocs plugin, a WordPress plugin for creating documentation and knowledge bases. According to the CPE data (cpe:2.3:a:wpdeveloper:betterdocs:*:*:*:*:*:*:*:*), all versions up to 4.6.2 are affected. The root cause is improper neutralization of user-supplied input when Contributor-level users create or edit documentation, allowing malicious HTML/JavaScript to be saved and later executed in the context of an administrator's browser. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) confirms low attack complexity, required low privileges, and user interaction (admin viewing).

Know when Betterdocs 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 (Patchstack) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 6.5 MEDIUM

Contributor privileges required (PR:L), user interaction (UI:R), scope change (S:C), low impacts.

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

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

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

DescriptionCVE.org

Contributor Cross Site Scripting (XSS) in BetterDocs <= 4.6.2 versions.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular WordPress plugin but not ubiquitous
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.1%
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.

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