Description
The Maxi Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `/wp-json/maxi-blocks/v1.0/style-card` REST API endpoint in all versions up to, and including, 2.1.9 due to insufficient input sanitization and output escaping of the `sc_styles` parameter. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts that execute on every page where the plugin's style card styles are loaded, including across the entire WordPress admin panel.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-04-16: | Vendor Notified |
| 2026-05-01: | Disclosed |
Credits
Athiwat Tiprasaharn
References
www.wordfence.com/...-df38-4f26-82a3-53caac995283?source=cve
plugins.trac.wordpress.org/.../2.1.9/core/class-maxi-api.php
plugins.trac.wordpress.org/.../2.1.9/core/class-maxi-api.php
plugins.trac.wordpress.org/...ore/class-maxi-style-cards.php
github.com/...anges/8db3267df9858f684e420566227ed2ea7954d9a9
plugins.trac.wordpress.org/...2.1.10/core/class-maxi-api.php
plugins.trac.wordpress.org/...2.1.10/core/class-maxi-api.php
plugins.trac.wordpress.org/...2.1.10/core/class-maxi-api.php
plugins.trac.wordpress.org/...2.1.10/core/class-maxi-api.php
plugins.trac.wordpress.org/...2.1.10/core/class-maxi-api.php