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: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
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 high‑risk stored XSS vector requiring only author‑level access and the ability to edit a post containing the shortcode. No EPSS score is available and the vulnerability 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 5, 2026 at 08:35 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 5, 2026 at 08:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-05T06:00:09.941Z

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

Link: CVE-2026-84931

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-84931

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T08:45:05Z

Weaknesses

No weakness.