The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6378

CVE-2026-6378: Maxi Blocks WordPress Plugin XSS Vulnerability

CVE-2026-6378 is a stored cross-site scripting flaw in the Maxi Blocks WordPress plugin affecting versions up to 2.1.9. Attackers with Author-level access can inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 7, 2026

CVE-2026-6378 Overview

CVE-2026-6378 is a Stored Cross-Site Scripting (XSS) vulnerability [CWE-79] affecting the Maxi Blocks plugin for WordPress in all versions up to and including 2.1.9. The flaw resides in the /wp-json/maxi-blocks/v1.0/style-card REST API endpoint, which fails to sanitize input or escape output for the sc_styles parameter. Authenticated attackers with Author-level access or higher can inject arbitrary JavaScript that executes when the plugin's style card styles are rendered. Because the injected payload loads on every page using these styles, including the WordPress admin panel, attackers can target administrators and other privileged users.

Critical Impact

Authenticated Author-level attackers can inject persistent JavaScript that executes across the entire WordPress admin panel, enabling session theft, account takeover, and administrative actions performed in the context of higher-privileged users.

Affected Products

  • Maxi Blocks plugin for WordPress, versions up to and including 2.1.9
  • WordPress sites with Author-level (or higher) user registration enabled
  • Front-end and admin pages where Maxi Blocks style card styles are loaded

Discovery Timeline

  • 2026-05-02 - CVE-2026-6378 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-6378

Vulnerability Analysis

The vulnerability stems from the Maxi Blocks plugin's handling of style card data submitted through its REST API. The /wp-json/maxi-blocks/v1.0/style-card endpoint accepts a sc_styles parameter, which is stored and later rendered into the page output as CSS or markup associated with the plugin's style cards. The plugin neither sanitizes the incoming sc_styles value nor escapes it on output, allowing arbitrary script content to persist in the database.

When a victim loads any page that pulls in the affected style card styles, the injected payload executes in their browser session. Because Maxi Blocks style cards are loaded across both front-end pages and the WordPress admin dashboard, a payload submitted by a low-privileged author propagates into administrator sessions. The attacker's script then runs with the victim's privileges in the same origin as the WordPress site.

Root Cause

The root cause is missing input validation and output encoding in the REST API handler defined in class-maxi-api.php and the rendering logic in class-maxi-style-cards.php. According to the patched code references in version 2.1.10, the fix introduces sanitization at multiple lines (L979, L981, L987, L1010, L1021) where sc_styles is processed. The pre-patch code path passed user-controlled data directly into stored style content without filtering script-bearing constructs.

Attack Vector

An attacker authenticates to a target WordPress site as an Author or higher. The attacker issues an authenticated POST request to /wp-json/maxi-blocks/v1.0/style-card with a malicious sc_styles payload containing JavaScript constructs that survive the plugin's storage and rendering pipeline. After submission, the payload is persisted as part of the plugin's style card configuration. Subsequent visits to any page that loads these styles, including /wp-admin/, trigger script execution in the visitor's browser. The attacker can then exfiltrate cookies, perform CSRF-style actions against the admin REST API, or pivot to administrator account takeover.

For implementation specifics, see the GitHub pull request fixing the issue and the Wordfence vulnerability advisory.

Detection Methods for CVE-2026-6378

Indicators of Compromise

  • POST or PUT requests to /wp-json/maxi-blocks/v1.0/style-card containing <script, onerror=, javascript:, or HTML event handler substrings within the sc_styles parameter.
  • Unexpected <script> tags, expression(), or url(javascript:...) constructs inside Maxi Blocks style card records stored in the WordPress database (wp_options or plugin-specific tables).
  • Outbound requests from administrator browsers to attacker-controlled domains shortly after loading WordPress admin pages.
  • New or modified administrator accounts created shortly after an Author-level user interacted with the style card endpoint.

Detection Strategies

  • Inspect web server access logs for authenticated requests to the style-card REST route originating from non-administrator user sessions.
  • Query the WordPress database for Maxi Blocks style card entries containing HTML or JavaScript syntax that does not belong in CSS values.
  • Monitor browser-side Content Security Policy (CSP) violation reports referencing inline scripts on /wp-admin/ pages.

Monitoring Recommendations

  • Enable WordPress audit logging for REST API calls and track the user role associated with each request to the affected endpoint.
  • Alert on creation, deletion, or privilege changes of administrator accounts following Author-level activity on the style-card endpoint.
  • Capture and review HTTP request bodies for the Maxi Blocks REST routes at the WAF layer to retain forensic evidence of injection attempts.

How to Mitigate CVE-2026-6378

Immediate Actions Required

  • Upgrade the Maxi Blocks plugin to version 2.1.10 or later on every affected WordPress site.
  • Audit existing Author, Editor, and Contributor accounts and remove any that are unnecessary or unrecognized.
  • Review stored Maxi Blocks style card records and remove entries containing script tags, event handlers, or javascript: URIs.
  • Force password resets and invalidate active sessions for administrators who may have loaded compromised pages.

Patch Information

The vendor addressed the vulnerability in Maxi Blocks 2.1.10. The patch adds sanitization for the sc_styles parameter at the REST API boundary and during style card rendering. See the version 2.1.10 source in class-maxi-api.php and the GitHub pull request diff for the specific code changes.

Workarounds

  • Restrict Author and higher role assignments to trusted users until the plugin is updated.
  • Deploy a Web Application Firewall (WAF) rule that blocks requests to /wp-json/maxi-blocks/v1.0/style-card containing HTML or script syntax in the sc_styles field.
  • Temporarily disable the Maxi Blocks plugin on sites where patching cannot be applied immediately.
  • Apply a strict Content Security Policy that disallows inline scripts on admin and front-end pages.
bash
# Example WAF rule (ModSecurity) blocking script payloads in sc_styles
SecRule REQUEST_URI "@beginsWith /wp-json/maxi-blocks/v1.0/style-card" \
    "id:1026378,phase:2,deny,status:403,log,\
    msg:'CVE-2026-6378 Maxi Blocks Stored XSS attempt',\
    chain"
    SecRule ARGS:sc_styles "@rx (?i)(<script|onerror=|onload=|javascript:|expression\()" \
        "t:none,t:urlDecodeUni"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Pull Request Changes

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi API Class Code

  • WordPress Maxi Style Cards Class Code

  • Wordfence Vulnerability Information
  • Related CVEs
  • CVE-2026-7448: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7332: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7457: WordPress LatePoint Plugin XSS Vulnerability

  • CVE-2026-6672: SliceWP Affiliates Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English