CVE-2025-11828
MEDIUM
6.4
CVSS 3.1
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.
Affected WordPress components
-
Post Blocks & Tools Plugin · bnm-blocksUp to and including 1.2.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- pubudu-malalasekara Post Blocks & Tools — Up to and including 1.2.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/bnm-blocks/tags/1.2.3/src/blocks/posts/featured-posts-1/view.php#L34
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3392064/
- wordpress.org https://wordpress.org/plugins/bnm-blocks
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/8fa2e98b-5054-46fd-b22e-eac59b581a3c?source=cve
- nvd.nist.gov Official NVD record