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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain or compromise Author-level WordPress account
  2. Delivery
    Authenticate to REST API
  3. Exploit
    Craft malicious sc_styles payload with JavaScript
  4. Install
    POST to /wp-json/maxi-blocks/v1.0/style-card
  5. C2
    Payload stored unsanitized in post metadata
  6. Execute
    Admin or user visits affected page
  7. Impact
    Browser executes injected script
  8. Step 8
    Session token theft or account compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authentication is mandatory: attacker must possess or compromise an Author-level (or higher) WordPress user account with REST API access. The /wp-json/maxi-blocks/v1.0/style-card REST API endpoint must be accessible (not blocked by firewall or site configuration). The Maxi Blocks plugin must be installed and activated. The vulnerable sc_styles parameter must be passed to the post_maxi_blocks_sc_string() method. No user interaction is required on the attacker's part after injection (UI:N per CVSS), but the payload executes whenever any user (admin, editor, or frontend visitor with sufficient permissions) accesses a page or admin interface where the style card styles are enqueued via wp_add_inline_style(). Sites with strict Author role restrictions (e.g., blocking author registrations, restricting API access to Editor+ only) reduce but do not eliminate risk, as privilege escalation within the plugin ecosystem or social engineering can elevate compromised user privileges.

Impact

CVSS 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network-accessible authenticated exploitation with changed scope - this is a moderate-severity Stored XSS. The low CVSS does not reflect the true risk because: (1) Scope:Changed and stored payload delivery mean every admin and frontend visitor executing the injected script, not just the attacker; (2) The vulnerability affects the WordPress admin panel directly, making admin compromise feasible; (3) Author-level access is common on multi-author WordPress sites and can be obtained via compromised or rogue contributor accounts. However, exploitation requires pre-existing authenticated access (PR:L), which significantly narrows the real-world attack surface compared to unauthenticated XSS. The fix was released within days of responsible disclosure, suggesting rapid vendor response. No active KEV listing or public POC confirmed in the input data, but Wordfence's intelligence source (security@wordfence.com) indicates coordinated disclosure. For organizations: urgent patching is warranted for multi-author sites or sites with untrusted Author-level users; single-admin WordPress installations have lower immediate risk if author credentials are protected.

Exploit ScenarioDerived

An authenticated WordPress user with Author-level permissions (or a compromised Author account) submits a POST request to /wp-json/maxi-blocks/v1.0/style-card with sc_styles parameter containing injected JavaScript, e.g., sc_styles: '</style><script>fetch("/wp-json/wp/v2/users").then(r=>r.json()).then(d=>/* steal data */)</script><style>'. The endpoint stores this payload unsanitized in post metadata. When any admin or frontend user loads a page using the style card, the injected script executes in their browser with their privileges, allowing session hijacking, credential theft, or malicious admin actions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 02, 2026

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.

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.

Affected VersionsENISA

MaxiBlocks Builder | 17,000+ Design Assets, Patterns, Icons & Starter Sites 0 ≤2.1.9

Affected Packages

euvd maxiblocks_builder_17_000_design_assets_patterns_icons_starter_sites no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

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-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

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-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

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-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

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