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-0678

CVE-2026-0678: WooCommerce Flat Shipping Rate SQL Injection

CVE-2026-0678 is a time-based SQL injection flaw in the Flat Shipping Rate by City for WooCommerce plugin that enables authenticated attackers to extract database information. This article covers technical details, versions affected, and mitigation.

Updated: May 15, 2026

CVE-2026-0678 Overview

CVE-2026-0678 is a time-based SQL injection vulnerability in the Flat Shipping Rate by City for WooCommerce plugin for WordPress. The flaw exists in the cities parameter and affects all versions up to and including 1.0.3. Insufficient escaping of user-supplied input and missing prepared statement usage allow attackers to append additional SQL statements to existing queries. Authenticated users with Shop Manager privileges or higher can exploit the issue to extract sensitive data from the WordPress database. The vulnerability is tracked under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).

Critical Impact

Authenticated Shop Manager accounts can leverage time-based SQL injection to exfiltrate database contents, including customer records and authentication material stored in WordPress tables.

Affected Products

  • Flat Shipping Rate by City for WooCommerce plugin for WordPress, versions up to and including 1.0.3
  • WordPress sites running WooCommerce with this plugin installed and activated
  • Any deployment granting third parties Shop Manager-level access or above

Discovery Timeline

  • 2026-01-14 - CVE-2026-0678 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2026-0678

Vulnerability Analysis

The vulnerability resides in the plugin's shipping method class, specifically around line 154 of shipping-method-class.php. The cities parameter received from the administrator interface is interpolated into a database query without proper escaping or parameter binding. Because WordPress's $wpdb API exposes both raw query() and safe prepare() methods, code paths that build SQL strings directly from request input bypass the database layer's safety guarantees. An authenticated attacker can inject syntactically valid SQL fragments into the cities value to alter the executed query.

The injection is time-based, meaning the attacker infers data by triggering conditional SLEEP() calls and measuring response latency. This technique works even when the application returns no visible output from the query. Successful exploitation enables row-by-row extraction of database contents, including the wp_users table containing password hashes and session tokens.

Root Cause

The root cause is improper neutralization of special characters in the cities request parameter combined with the absence of a prepared statement. The plugin concatenates the attacker-controlled string directly into the SQL query rather than using $wpdb->prepare() with placeholders such as %s or %d.

Attack Vector

Exploitation requires authenticated access at Shop Manager level or above. The attacker submits a crafted value in the cities parameter through the plugin's administrative workflow. The malicious payload terminates the original SQL string, appends a boolean-conditional SLEEP() clause, and forces the database server to delay responses when a guessed condition is true. By iterating over characters in target fields, the attacker reconstructs sensitive values such as user emails, password hashes, and API keys stored in WordPress options.

Verified technical references for the affected code path are available in the WordPress Plugin Code Repository and the Wordfence Vulnerability Analysis.

Detection Methods for CVE-2026-0678

Indicators of Compromise

  • Unusually long response times on administrative requests that include the cities parameter, consistent with SLEEP()-based blind injection
  • Database process lists showing queries against WooCommerce shipping tables containing concatenated SQL keywords such as UNION, SLEEP, or BENCHMARK
  • WordPress audit logs showing Shop Manager accounts performing repeated shipping configuration edits in rapid succession

Detection Strategies

  • Inspect HTTP request bodies and query strings to the WordPress admin endpoints for SQL metacharacters in the cities field
  • Enable MySQL or MariaDB general query logging on a sample basis and alert on statements referencing the shipping plugin's tables together with timing functions
  • Correlate WordPress user activity with database query latency spikes to surface blind injection probing

Monitoring Recommendations

  • Forward WordPress access logs and database slow-query logs to a centralized analytics platform for retention and correlation
  • Alert on Shop Manager and Administrator role assignments and on plugin configuration changes outside maintenance windows
  • Track the plugin version present in wp-content/plugins/flat-shipping-rate-by-city-for-woocommerce/ and flag installations at version 1.0.3 or earlier

How to Mitigate CVE-2026-0678

Immediate Actions Required

  • Update the Flat Shipping Rate by City for WooCommerce plugin to a release later than 1.0.3 as soon as the vendor publishes a fixed version
  • Audit existing Shop Manager and Administrator accounts and revoke access for users who do not require shipping configuration privileges
  • Rotate WordPress administrator passwords, API keys, and any secrets stored in wp_options if exploitation is suspected

Patch Information

At the time of NVD publication on 2026-01-14, the advisory identifies all versions up to and including 1.0.3 as vulnerable. Administrators should monitor the WordPress plugin repository for a patched release and review the Wordfence Vulnerability Analysis for current remediation guidance.

Workarounds

  • Deactivate and remove the plugin until a patched version is installed if shipping-by-city functionality is not business critical
  • Restrict access to the WordPress admin interface using IP allowlisting or a VPN to limit who can reach the vulnerable parameter
  • Deploy a Web Application Firewall rule that blocks SQL metacharacters and timing functions in the cities POST parameter
bash
# Example WAF rule (ModSecurity) blocking SQL keywords in the cities parameter
SecRule ARGS:cities "@rx (?i)(union|select|sleep|benchmark|--|;)" \
    "id:1026678,phase:2,deny,status:403,msg:'CVE-2026-0678 SQLi attempt in cities parameter'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWoocommerce

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • WordPress Plugin Code Snippet

  • WordPress Plugin Code Repository

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-3830: WooCommerce Product Filter SQLi Vulnerability

  • CVE-2025-11691: PPOM WooCommerce Plugin SQLi Vulnerability

  • CVE-2026-0702: VidShop WordPress Plugin SQLi Vulnerability

  • CVE-2026-3396: WooCommerce Ajax Product Filter SQLI Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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