Description
The Easy Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `ez-toc` shortcode in all versions up to, and including, 2.0.78 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2025-11-16: | Discovered |
| 2026-02-18: | Disclosed |
Credits
Jack Taylor
References
www.wordfence.com/...-4419-4292-8f9c-4ccf5b69dd60?source=cve
plugins.trac.wordpress.org/.../includes/class-eztoc-post.php
plugins.trac.wordpress.org/...contents&sfp_email=&sfph_mail=