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
    • 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-2412

CVE-2026-2412: Quiz and Survey Master WordPress SQLi Flaw

CVE-2026-2412 is a SQL injection vulnerability in the Quiz and Survey Master WordPress plugin that allows authenticated attackers to extract database information. This article covers technical details, affected versions, and mitigations.

Published: March 27, 2026

CVE-2026-2412 Overview

The Quiz and Survey Master (QSM) plugin for WordPress is vulnerable to SQL Injection via the merged_question parameter in all versions up to, and including, 10.3.5. This vulnerability arises from insufficient sanitization of user-supplied input before being used in a SQL query. The sanitize_text_field() function applied to the merged_question parameter does not prevent SQL metacharacters like ), OR, AND, and # from being included in the value, which is then directly concatenated into a SQL IN() clause without using $wpdb->prepare() or casting values to integers. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Critical Impact

Authenticated attackers with Contributor-level privileges can exploit this SQL Injection to extract sensitive information from the WordPress database, potentially including user credentials, personal data, and other confidential content.

Affected Products

  • Quiz and Survey Master (QSM) WordPress plugin versions up to and including 10.3.5
  • WordPress installations using the vulnerable QSM plugin versions
  • Any site with Contributor-level or higher user accounts enabled

Discovery Timeline

  • 2026-03-23 - CVE-2026-2412 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-2412

Vulnerability Analysis

This SQL Injection vulnerability exists within the Quiz and Survey Master plugin's question merging functionality. The root issue lies in how the plugin processes the merged_question parameter through its REST API endpoint. While the plugin developers attempted to sanitize user input using WordPress's sanitize_text_field() function, this approach is fundamentally inadequate for preventing SQL Injection attacks.

The sanitize_text_field() function is designed to remove unwanted characters for display purposes—it strips HTML tags, removes extra whitespace, and encodes special characters. However, it does not filter SQL metacharacters such as ), OR, AND, #, and other characters that can manipulate SQL query logic. This mismatch between the sanitization method and the security requirement creates an exploitable condition.

An authenticated attacker with at least Contributor-level access can craft malicious input containing SQL metacharacters that break out of the intended IN() clause context and inject arbitrary SQL statements. This enables UNION-based or boolean-based blind SQL Injection techniques to extract data from any table in the database accessible to the WordPress database user.

Root Cause

The vulnerability stems from improper input validation and insecure database query construction. The vulnerable code in class-qsm-questions.php accepts the merged_question parameter and directly concatenates it into a SQL IN() clause. The proper approach would have been to use WordPress's $wpdb->prepare() method with parameterized queries, or to cast all values to integers before inclusion in the query. The reliance on sanitize_text_field() for SQL-related security demonstrates a misunderstanding of the function's intended purpose.

Attack Vector

The attack is network-based and requires authentication with Contributor-level access or above. An attacker must be able to make authenticated requests to the plugin's REST API endpoint that handles question merging operations. The attacker can inject SQL metacharacters through the merged_question parameter, breaking out of the IN() clause and appending malicious SQL queries. Since no user interaction is required beyond the attacker's own actions, exploitation can be automated once valid credentials are obtained.

The vulnerability can be exploited through the REST API endpoint defined in rest-api.php. Technical details are available in the WordPress Class QSM Questions Code and WordPress REST API Code.

Detection Methods for CVE-2026-2412

Indicators of Compromise

  • Unusual database queries containing SQL metacharacters in web server or application logs
  • Unexpected patterns in the merged_question parameter values in QSM plugin logs
  • Evidence of data exfiltration attempts through error-based or time-based SQL Injection techniques
  • Anomalous REST API requests to QSM endpoints from Contributor-level accounts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL Injection patterns in requests targeting QSM REST API endpoints
  • Monitor WordPress activity logs for unusual API requests from users with Contributor or higher roles
  • Deploy database activity monitoring to detect anomalous query patterns or data access
  • Review access logs for repeated requests with varying SQL metacharacters in parameters

Monitoring Recommendations

  • Enable detailed logging for the Quiz and Survey Master plugin REST API endpoints
  • Configure alerts for database errors that may indicate SQL Injection attempts
  • Monitor for unusual query execution times that could suggest time-based blind SQL Injection
  • Implement real-time alerting on WAF rule violations targeting WordPress plugins

How to Mitigate CVE-2026-2412

Immediate Actions Required

  • Update Quiz and Survey Master plugin to version 10.3.6 or later immediately
  • Review Contributor and higher-level user accounts for any unauthorized or suspicious accounts
  • Audit database access logs for signs of exploitation prior to patching
  • Consider temporarily disabling the QSM plugin if an immediate update is not possible

Patch Information

The vulnerability has been addressed in changeset #3486710. The patch modifies the query construction in class-qsm-questions.php and rest-api.php to properly sanitize and prepare SQL statements. Details of the security fixes can be found in the WordPress Changeset #3486710 QSM Questions and WordPress Changeset #3486710 REST API. Additional vulnerability analysis is available from the Wordfence Vulnerability Analysis.

Workarounds

  • Restrict Contributor-level access to trusted users only until the patch can be applied
  • Implement Web Application Firewall rules to block requests containing SQL metacharacters in QSM parameters
  • Temporarily disable the QSM plugin's REST API functionality if feasible
  • Use a security plugin to add additional input validation layers for WordPress REST API endpoints
bash
# Configuration example - WAF rule for ModSecurity
# Block SQL injection patterns in QSM plugin parameters
SecRule ARGS:merged_question "@rx (\)|OR|AND|#|--|;|UNION|SELECT)" \
    "id:100001,phase:2,deny,status:403,msg:'Potential SQL Injection in QSM merged_question parameter'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

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

  • WordPress REST API Code

  • WordPress Changeset #3486710 QSM Questions

  • WordPress Changeset #3486710 REST API

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2023-54359: WordPress Adivaha Travel Plugin SQLI Flaw

  • CVE-2026-3781: WordPress Attendance Manager SQLi Flaw

  • CVE-2026-39466: Broken Link Checker SQL Injection Flaw

  • CVE-2026-1865: WordPress User Registration SQLi Flaw
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