CVE-2025-13738

Easy Table of Contents <= 2.0.78 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Feb 19, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:00 PM
Reserved
Nov 26, 2025, 10:22 AM
Status
Deferred
Published
Feb 19, 2026, 7:17 AM
Modified
Jun 17, 2026, 8:34 AM