Description
The Easy Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `ez-toc` shortcode in all versions up to, and including, 2.0.78 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Published: 2026-02-19
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that allows an authenticated contributor or higher to inject scripts that run in other users’ browsers when they view affected pages
Action: Apply Patch
AI Analysis

Impact

The Easy Table of Contents WordPress plugin is vulnerable because it fails to sanitize and escape user‑supplied attributes used in its ez‑toc shortcode. A contributor or higher can embed arbitrary JavaScript or HTML into a page that contains the shortcode. When any visitor opens that page, the injected code executes in the victim’s browser, potentially stealing session cookies, defacing the site, or redirecting to malicious sites.

Affected Systems

All WordPress sites running Easy Table of Contents version 2.0.78 or earlier are impacted, provided that contributors or higher users have permission to insert the ez‑toc shortcode. Sites using newer versions are not affected.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of < 1% suggests that exploitation is unlikely in the wild. The vulnerability is not listed in CISA’s KEV catalog. Attackers must first obtain authenticated contributor or higher access to craft the malicious payload, then rely on a visitor to view the injected page for the script to run. The effect is confined to the victim’s browsing session but can be severe if the attacker steals credentials or performs further malicious actions from that session.

Generated by OpenCVE AI on April 21, 2026 at 23:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Easy Table of Contents plugin to a version newer than 2.0.78.
  • Restrict the use of the ez‑toc shortcode for contributors by disabling it or lowering contributor privileges.
  • Audit existing page content for any injected scripts and remove them to prevent accidental execution.

Generated by OpenCVE AI on April 21, 2026 at 23:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 20 Feb 2026 01:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 19 Feb 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Magazine3
Magazine3 easy Table Of Contents
Wordpress
Wordpress wordpress
Vendors & Products Magazine3
Magazine3 easy Table Of Contents
Wordpress
Wordpress wordpress

Thu, 19 Feb 2026 05:00:00 +0000

Type Values Removed Values Added
Description The Easy Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `ez-toc` shortcode in all versions up to, and including, 2.0.78 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Title Easy Table of Contents <= 2.0.78 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Magazine3 Easy Table Of Contents
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:00:40.032Z

Reserved: 2025-11-26T10:22:35.600Z

Link: CVE-2025-13738

cve-icon Vulnrichment

Updated: 2026-02-19T20:32:04.776Z

cve-icon NVD

Status : Deferred

Published: 2026-02-19T07:17:33.083

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-13738

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T23:45:02Z

Weaknesses