Description
The Joli Table Of Contents WordPress plugin before 3.0.3 does not sanitise or escape a shortcode attribute value before outputting it inside an HTML element's attribute, allowing users with the Author role and above to inject arbitrary HTML attributes and JavaScript that execute in the browser of any user who views the post, including higher-privileged users such as administrators. This crosses a privilege boundary even on multisite, where such users are not permitted to post unfiltered HTML.
Published: 2026-09-05
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting allowing authors to inject JavaScript that executes in browsers of all viewers, including administrators.
Action: Upgrade plugin
AI Analysis

Impact

The Joli Table Of Contents WordPress plugin before version 3.0.3 does not sanitise or escape a value supplied to a shortcode attribute before outputting it inside an HTML element’s attribute, allowing users with the Author role or higher to embed arbitrary attributes and JavaScript. When other users, even those with elevated privileges, view the post, the injected script runs in their browser, effectively allowing the author to execute code within the context of any viewer’s session.

Affected Systems

WordPress sites that have the Joli Table Of Contents plugin installed on any version earlier than 3.0.3, including all single‑site and multisite deployments where the shortcode is enabled.

Risk and Exploitability

The vulnerability presents a medium‑risk stored XSS vector requiring only author‑level access and the ability to edit a post containing the shortcode. The CVSS score of 6.8 indicates a moderate severity, and the EPSS score of <1% suggests a low likelihood of exploitation. It is not listed in the CISA KEV catalogue. Attackers can inject malicious code that will execute in the browsers of all users who view the affected post, including administrators.

Generated by OpenCVE AI on September 6, 2026 at 13:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Joli Table Of Contents plugin to version 3.0.3 or later, which implements proper attribute sanitisation.
  • If an upgrade is not immediately possible, remove or disable the Joli Table Of Contents shortcode from existing posts and prevent it from being used in new content.
  • If disabling the shortcode is not feasible, apply a custom sanitisation routine to the shortcode attribute by modifying plugin code or using a secondary plugin.

Generated by OpenCVE AI on September 6, 2026 at 13:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 07 Sep 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpjoli
Wpjoli joli Table Of Contents
Vendors & Products Wordpress
Wordpress wordpress
Wpjoli
Wpjoli joli Table Of Contents

Sun, 06 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

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

ssvc

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


Sat, 05 Sep 2026 06:30:00 +0000

Type Values Removed Values Added
Description The Joli Table Of Contents WordPress plugin before 3.0.3 does not sanitise or escape a shortcode attribute value before outputting it inside an HTML element's attribute, allowing users with the Author role and above to inject arbitrary HTML attributes and JavaScript that execute in the browser of any user who views the post, including higher-privileged users such as administrators. This crosses a privilege boundary even on multisite, where such users are not permitted to post unfiltered HTML.
Title Joli Table Of Contents < 3.0.3 - Author+ Stored XSS via joli-toc Shortcode Theme Attribute
References

Subscriptions

Wordpress Wordpress
Wpjoli Joli Table Of Contents
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-06T10:45:40.246Z

Reserved: 2026-09-02T16:15:10.807Z

Link: CVE-2026-84931

cve-icon Vulnrichment

Updated: 2026-09-06T10:24:26.453Z

cve-icon NVD

Status : Deferred

Published: 2026-09-05T07:17:14.600

Modified: 2026-09-08T19:15:18.627

Link: CVE-2026-84931

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T08:00:06Z

Weaknesses
  • CWE-79

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