Skip to main content

Maxi Blocks CVE-2026-6378

| EUVDEUVD-2026-26728 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-02 security@wordfence.com
6.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

5
Source Code Evidence Fetched
May 02, 2026 - 04:30 vuln.today
Analysis Generated
May 02, 2026 - 04:30 vuln.today
EUVD ID Assigned
May 02, 2026 - 04:22 euvd
EUVD-2026-26728
Analysis Generated
May 02, 2026 - 04:22 vuln.today
CVE Published
May 02, 2026 - 04:16 nvd
MEDIUM 6.4

DescriptionCVE.org

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.

AnalysisAI

Stored cross-site scripting in Maxi Blocks plugin for WordPress versions up to 2.1.9 allows authenticated attackers with Author-level access and above to inject arbitrary JavaScript via the /wp-json/maxi-blocks/v1.0/style-card REST API endpoint through insufficient sanitization of the sc_styles parameter. Injected scripts execute on every page where style card styles are loaded, including the WordPress admin panel, affecting all website visitors and administrators. The vendor released patched version 2.1.10 on 27 April 2026 with input sanitization fixes (wp_strip_all_tags applied to sc_styles parameter) and privilege escalation mitigation in the image crop functionality.

Technical ContextAI

The vulnerability exists in the REST API handler for style cards within the Maxi Blocks WordPress plugin. The post_maxi_blocks_sc_string() method in class-maxi-api.php accepts user-supplied CSS styles via the sc_styles parameter and passes them directly to wp_add_inline_style() in class-maxi-style-cards.php without sanitizing the input. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting). WordPress's wp_add_inline_style() function outputs inline styles without HTML escaping, allowing attackers to break out of style context and inject script tags or event handlers. The fix applies wp_strip_all_tags() to remove all HTML markup before the parameter is stored or used, preventing HTML/script injection while preserving CSS syntax. The affected endpoint requires REST API authentication (PR:L - Author level minimum), limiting the attack surface to authenticated users within the WordPress installation.

RemediationAI

Upgrade Maxi Blocks to version 2.1.10 or later immediately. The patch applies wp_strip_all_tags() to the sc_styles parameter at four locations in class-maxi-api.php (lines 979, 981, 987, and 1010) and one location in class-maxi-style-cards.php (line 197), preventing HTML injection before the data is stored or output. Additionally, version 2.1.10 hardens privilege checks in the image crop endpoint by changing the capability check from edit_posts to delete_others_posts, restricting modification to Editor-level and above roles. For sites unable to patch immediately, disable REST API access to the /wp-json/maxi-blocks/ endpoint using server-level rules (e.g., nginx location ~ /wp-json/maxi-blocks { deny all; }) or WordPress security plugins (Wordfence, Sucuri) that can block specific REST routes. However, this workaround will break the plugin's REST functionality and should be temporary only. Verify all Author-level and above user accounts for unauthorized access or activity after patching.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-6378 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy