Skip to main content

Table Of Contents Block CVE-2026-66645

| EUVDEUVD-2026-60929 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-18 Patchstack GHSA-h2p9-653p-8w8v
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as WordPress Contributor
  2. Delivery
    Craft malicious Table Of Contents Block with XSS payload
  3. Exploit
    Save or publish affected post
  4. Execution
    Administrator views post in browser
  5. Persist
    Stored payload executes in admin session
  6. Impact
    Exfiltrate session token or escalate privileges

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 the attacker to hold a valid WordPress account with at least Contributor-level privileges on the target site - no unauthenticated path exists given PR:L in the CVSS vector. The Table Of Contents Block plugin must be installed and active. A second user with elevated privileges (e.g., Editor or Administrator) must view the post or page containing the malicious block (UI:R). Sites that do not allow open contributor registration or that require editorial approval before any page-view by privileged users significantly limit exposure. The scope change (S:C) means the ultimate impact falls on the victim's browser rather than the WordPress server itself, so server-side hardening alone is insufficient.

Impact

The NVD CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) accurately reflects the attack profile: network-reachable, low complexity, low-privilege contributor needed, one victim page-view required, and a changed scope impacting the victim's browser. The changed scope is the most important signal - administrator-level victims render this a realistic privilege-escalation chain on sites with open contributor registration or guest authoring. No EPSS score is present in the available data, no CISA KEV listing exists, and no public proof-of-concept is referenced, indicating no confirmed in-the-wild exploitation at the time of analysis. The A:L metric in the provided vector is slightly elevated for a typical XSS; availability impact is plausible if the payload disrupts admin page function, but it is not the primary risk. Real-world priority is moderate: the attack requires a pre-existing contributor account, making opportunistic mass exploitation difficult, but targeted abuse against sites with open registration is realistic. The availability component should be treated as lower confidence than the confidentiality and integrity signals.

Exploit ScenarioDerived

An attacker registers or compromises a Contributor-level account on a target WordPress site, then creates or edits a post and embeds a malicious JavaScript payload within a Table Of Contents Block attribute. When an administrator reviews, previews, or views the published post, the stored payload fires in the administrator's browser session, potentially exfiltrating the admin's session cookie or silently creating a rogue admin account via the WordPress REST API.

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 – Aug 18, 2026

Stored Cross-Site Scripting in the WordPress Table Of Contents Block plugin (versions up to and including 1.5.0) allows authenticated users with at least Contributor-level access to inject arbitrary JavaScript into post content via the block editor. Because the CVSS vector carries a changed scope (S:C), the injected payload executes in the browser context of any user - including administrators - who views the affected page, enabling session hijacking or privilege escalation. No public exploit code or CISA KEV listing is present in the available data, but the low attack complexity and broad administrator victim surface make this a meaningful risk for multi-author WordPress deployments.

RemediationAI

Update the Table Of Contents Block plugin to a version beyond 1.5.0 as soon as one is available from the WordPress plugin repository. The Patchstack advisory at https://patchstack.com/database/wordpress/plugin/table-of-contents-block/vulnerability/wordpress-table-of-contents-block-plugin-1-5-0-cross-site-scripting-xss-vulnerability provides the authoritative remediation guidance; consult it for the exact patched release number, which is not specified in the currently available intelligence data. If immediate upgrade is not possible, a practical compensating control is to restrict the Contributor role from publishing posts directly - requiring editorial review before publication prevents the stored payload from reaching administrator browsers. Additionally, enabling a Content Security Policy (CSP) header that restricts inline script execution can reduce XSS exploitability site-wide, though CSP tuning on WordPress carries a risk of breaking legitimate plugin functionality and requires careful testing. Do not rely on Contributor-role restriction alone if administrators preview drafts, as the payload would still execute at preview time.

Affected VersionsENISA

Table of Contents Block n/a ≤1.5.0

Affected Packages

euvd table_of_contents_block 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 affected product is the 'Table Of Contents Block' WordPress plugin (CPE: cpe:2.3:a:wpdeveloper:table_of_contents_block:*:*:*:*:*:*:*:*) developed by WPDeveloper. The vulnerability class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting). Stored XSS in block-based plugins typically arises when user-controlled block attributes or rich-text fields are rendered server-side without adequate output encoding, allowing malicious payloads embedded during authoring to be served verbatim to subsequent page visitors. WordPress's block editor serialises block content to post_content in the database, meaning any insufficient sanitisation at save-time or insufficient escaping at render-time produces a persistent attack surface that survives across page loads.

Know when Table Of Contents Block 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 5.4 MEDIUM

Network-reachable stored XSS requiring contributor auth and victim page-view; A:N because XSS does not meaningfully impact availability of the WordPress service.

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:N/VI:N/VA:N/SC:L/SI:L/SA:N

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 Table Of Contents Block <= 1.5.0 versions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche WordPress plugin, limited to long-form content sites
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.

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