CVE-2026-84931: Joli Table Of Contents < 3.0.3 - Author+ Stored XSS via joli-toc Shortcode Theme Attribute

Published Sep 5, 2026
·
Updated

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.

Affected Software

1 affected component
WordPress Joli Table Of Contents<3.0.3

Event History

Sep 5, 2026
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A user with the WordPress Author role or any higher-privileged role can exploit it by supplying a crafted value for the joli-toc shortcode theme attribute.

2

Which users are at risk from a malicious post?

Any user who views the affected post can have attacker-supplied JavaScript execute in their browser. This includes administrators, so viewing a malicious post can cross a privilege boundary.

3

Are WordPress multisite installations protected by restrictions on unfiltered HTML?

No. The issue can be exploited even on multisite installations where Authors are not allowed to post unfiltered HTML, because the vulnerable shortcode attribute is not properly sanitised or escaped.

4

What version resolves the issue?

Update Joli Table Of Contents to version 3.0.3 or later. Versions before 3.0.3 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203