# Joli Table Of Contents <= 3.0.3 - Reflected Cross-Site Scripting via Pricing Page Query Parameters

- **ID:** WPSEC-2026-0869
- **Plugin:** Joli Table Of Contents – Table of Contents with Gutenberg Block & Shortcode (`joli-table-of-contents`), https://wordpress.org/plugins/joli-table-of-contents/
- **Affected versions:** all versions before 3.0.4
- **Fixed in:** 3.0.4 (Update to 3.0.4 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/joli-table-of-contents
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0869/

## Description

The Joli Table Of Contents plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URL query parameters on the bundled Freemius pricing page in all versions up to, and including, 3.0.3. This is due to user-supplied $_GET values being merged over the trusted configuration values passed to the pricing JavaScript application, such as contact_url, request_handler_url and fs_wp_endpoint_url, without validation. This makes it possible for unauthenticated attackers to inject arbitrary web scripts, for example as a javascript: URL in the pricing page's contact links, that execute if they can trick an administrator into opening a crafted link and interacting with the page.

## References

- https://wpsec.com/vuln/WPSEC-2026-0869/
- https://plugins.svn.wordpress.org/joli-table-of-contents/tags/3.0.4/
- https://wordpress.org/plugins/joli-table-of-contents/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0869/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
