CyberRota Analysis
AI-GeneratedThe Joli Table Of Contents WordPress plugin prior to version 3.0.3 is vulnerable due to improper sanitization of shortcode attribute values, enabling users with Author roles and above to inject arbitrary HTML and JavaScript into post attributes. This vulnerability poses a significant risk as it allows for cross-site scripting (XSS) attacks that can affect all users, including administrators, who view the compromised posts. WordPress site administrators and developers using this plugin should prioritize updating to the latest version to mitigate potential exploitation.
Original NVD 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.