Description
The Magazine Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'headerHtmlTag' attribute in the bnm-blocks/featured-posts-1 block in all versions up to, and including, 1.2.3. This is due to insufficient input sanitization and output escaping when using user-supplied values as HTML tag names. 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-10: | Disclosed |
Credits
Djaidja Moundjid
References
www.wordfence.com/...-5054-46fd-b22e-eac59b581a3c?source=cve
wordpress.org/plugins/bnm-blocks
plugins.trac.wordpress.org/...osts/featured-posts-1/view.php