Description
The Same Category Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the widget title placeholder functionality in all versions up to, and including, 1.1.19. This is due to the use of `htmlspecialchars_decode()` on taxonomy term names before output, which decodes HTML entities that WordPress intentionally encodes for safety. 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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-01-23: | Disclosed |
Credits
Athiwat Tiprasaharn
References
www.wordfence.com/...-4876-4da8-9af1-6f6ef5632f26?source=cve
plugins.trac.wordpress.org/...1.1.19/same-category-posts.php
plugins.trac.wordpress.org/...1.1.19/same-category-posts.php
plugins.trac.wordpress.org/...1.1.19/same-category-posts.php
plugins.trac.wordpress.org/...ry-posts&sfp_email=&sfph_mail=