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.
References10
- github.com/maxi-blocks/maxi-blocks/pull/6250/changes/8db3267df9…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.10/core…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.10/core…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.10/core…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.10/core…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.10/core…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.9/core/…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.9/core/…
- plugins.trac.wordpress.org/browser/maxi-blocks/tags/2.1.9/core/…
- www.wordfence.com/threat-intel/vulnerabilities/id/22f05048-df38…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 14 · as of 13 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.