Description
The Toocheke Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'meta[<meta_id>][value]' parameter in all versions up to, and including, 2.39 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because omitting the comic_blog_post_editor field from the POST request bypasses the plugin's sanitization callback entirely, causing WordPress core to store the raw payload byte-for-byte via update_post_meta().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
toocheke Toocheke Companion
Default version status: unaffected
0 to ≤ 2.39affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b4bd9d3a-0706-4087-8c28-597b959aec4d?source=cve ↗
- https://plugins.trac.wordpress.org/browser/toocheke-companion/tags/2.38/templates/content-comicblogpost.php#L41 ↗
- https://plugins.trac.wordpress.org/browser/toocheke-companion/tags/2.38/templates/content-comicblogpost.php#L45 ↗
- https://plugins.trac.wordpress.org/browser/toocheke-companion/tags/2.38/inc/class-toocheke-companion-metaboxes.php#L197 ↗
- https://plugins.trac.wordpress.org/browser/toocheke-companion/tags/2.38/inc/class-toocheke-companion-cpt-taxonomy.php#L148 ↗
- https://wordpress.org/plugins/toocheke-companion/ ↗
- https://plugins.trac.wordpress.org/changeset/3811901/toocheke-companion/trunk/templates/content-comicblogpost.php ↗