---
id: CVE-2026-84931
title: >-
  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 H…
summary: >-
  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 H…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-79
published: '2026-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T19:15:18.627'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84931'
references:
  - url: 'https://wpscan.com/vulnerability/0dc8747c-14c2-4bb2-9b99-7978ff5128f5/'
    label: contact@wpscan.com
tags:
  - nvd
epss: 0.00431
epssPercentile: 0.34715
ingestedAt: '2026-09-06T11:54:30.247Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
