Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as WordPress Contributor
-
DeliveryCraft malicious Table Of Contents Block with XSS payload
-
ExploitSave or publish affected post
-
ExecutionAdministrator views post in browser
-
PersistStored payload executes in admin session
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Network-reachable stored XSS requiring contributor auth and victim page-view; A:N because XSS does not meaningfully impact availability of the WordPress service.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Contributor Cross Site Scripting (XSS) in Table Of Contents Block <= 1.5.0 versions.
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.
EUVD-2026-60929
GHSA-h2p9-653p-8w8v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB