Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as Author-level WordPress user
-
DeliveryIntercept AJAX save and inject SQL into 'pages' parameter
-
ExploitPayload stored in database via qsm_ajax_save_pages()
-
InstallAdministrator navigates to quiz Questions tab
-
C2qsm_options_questions_tab_content() interpolates stored payload into IN() clause
-
ExecuteDatabase executes appended UNION/subquery
-
ImpactWordPress user credentials and sensitive records exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold an authenticated Author-level (or higher) WordPress account on the target site - PR:N unauthenticated exploitation is not possible. Additionally, the attacker must own or be entitled to edit at least one quiz object within the QSM plugin, which is the normal capability granted to Authors by QSM. The malicious payload is planted via a POST request to the qsm_ajax_save_pages() AJAX action with a crafted 'pages' parameter; no special non-default plugin configuration is required beyond the plugin being installed and active, since AJAX quiz saving is a standard workflow. Execution of the SQL payload is deferred and requires a second trigger: any user (including the attacker themselves, but also any administrator) must navigate to the Questions tab of the affected quiz in the WordPress admin interface. This deferred trigger is both a limiting factor (the attacker cannot guarantee immediate execution and must wait for a natural administrative action) and an aggravating one (the payload executes silently under the viewing user's database session without any visible anomaly). Exploitation is limited to WordPress installations running QSM version 11.2.0 or earlier; sites with no Author-level or higher untrusted users are not at risk. |
| Impact | The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) correctly identifies network reachability and high confidentiality impact but the official UI:N designation warrants scrutiny: execution of the stored payload is gated on a second user viewing the Questions tab, which is a form of deferred user interaction even if uncoerced. An independent assessment (see assessed_cvss_vector) assigns UI:R, yielding approximately 5.7. Real-world risk is meaningfully bounded by the PR:L requirement - the attacker must hold a legitimate Author-level WordPress account on the target site and must own or be entitled to edit at least one quiz. Sites with open user registration or many untrusted contributors face substantially higher risk than tightly controlled installations. There is no CISA KEV listing and no public exploit code confirmed in the provided data, and no EPSS score was included in the source intelligence; exploitation probability cannot be quantified numerically from available data. The high-impact signal (C:H, full read access to the database including wp_users credential hashes) means that successful exploitation is significant even though the preconditions limit the attacker pool. The second-order pattern is a notable aggravating factor: WAFs inspecting only request parameters at write time will not observe the SQL payload, and standard DAST scanners that replay responses may miss the deferred execution path. |
| Exploit ScenarioDerived | An attacker with an Author account on a WordPress site running QSM 11.2.0 navigates to the quiz editor for a quiz they own and intercepts the AJAX save request, injecting a crafted SQL fragment into the 'pages' parameter - for example, '1 UNION SELECT user_login,user_pass,3,4,5 FROM wp_users-- '. This payload is stored in the database through the insufficiently sanitized save handler. Subsequently, when any administrator opens the Questions tab for that quiz during a routine review, the stored payload is interpolated directly into the SQL IN() clause, causing the database to return WordPress user login names and password hashes alongside the expected query results, which are then available in the server response. No public proof-of-concept exploit code has been confirmed at time of analysis, but the technique is straightforward for any attacker familiar with second-order SQL injection and WordPress internals. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 16, 2026
Second-order SQL injection in Quiz Master Next (QSM) for WordPress through version 11.2.0 allows authenticated attackers holding Author-level access to plant SQL payloads in quiz page data that execute whenever any user - including administrators - views the affected quiz's Questions tab. The root cause is a two-stage failure: the qsm_ajax_save_pages() AJAX handler sanitizes user-supplied 'pages' values only with sanitize_text_field() (which strips HTML/PHP tags but does not escape SQL-special characters), then qsm_options_questions_tab_content() at line 143 reconstructs those stored values into an IN() clause via implode() with no $wpdb->prepare() call and no integer casting. No public exploit code has been identified at time of analysis; however, the split-phase attack pattern - where payload planting and execution are decoupled - commonly evades first-order WAF detection and standard code scanning, elevating practical risk beyond the 6.5 CVSS score alone.
RemediationAI
An upstream fix has been committed to the WordPress plugin SVN repository as changeset 3608310, visible at https://plugins.trac.wordpress.org/changeset?reponame=&old=3608310%40quiz-master-next&new=3608310%40quiz-master-next; however, the specific patched release version number is not confirmed in the provided data, so administrators should verify the current version available on WordPress.org and update immediately once a patched release is published. Until a patched version is deployed, the primary compensating control is to restrict Author-level role assignment strictly to fully trusted users, since the attack requires an authenticated Author who owns or can edit a quiz - removing untrusted Authors eliminates the attacker's entry point entirely, with the trade-off that this may restrict legitimate contributors. As an additional defense-in-depth measure, consider deploying the Wordfence WAF or equivalent, configured to inspect AJAX POST bodies for SQL metacharacters in the 'pages' parameter submitted to qsm_ajax_save_pages(); be aware that second-order patterns may evade signature-only WAFs if inspection occurs only at read time. Database administrators should audit existing quiz page records for suspicious SQL fragments (UNION, SELECT, --, #) to detect any payloads already planted prior to patching.
Affected VersionsENISA
Affected Packages
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 affected product is the Quiz And Survey Master (QSM) WordPress plugin by ExpressTech, identified by CPE cpe:2.3:a:expresstech:quiz_and_survey_master_(qsm)_-_quiz_maker_&_survey_maker:*:*:*:*:*:*:*:*. The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements in an SQL Command), specifically in its second-order (stored) variant. In first-order SQLi, the injection and execution occur in the same request; here, the attack spans two separate operations and potentially two separate users. The AJAX handler qsm_ajax_save_pages() at class-qmn-plugin-helper.php line 601 accepts a 'pages' POST parameter, applies only sanitize_text_field() for sanitization, and persists the result to the database. Later, when the Questions tab is rendered, qsm_options_questions_tab_content() at options-page-questions-tab.php line 143 reads those stored page IDs and concatenates them directly into a SQL IN() clause using PHP's implode(), bypassing WordPress's $wpdb->prepare() parameterization entirely and performing no intval() or absint() integer casting. Because sanitize_text_field() does not strip SQL metacharacters such as single quotes, commas, or SQL keywords, an attacker-controlled string like '1 UNION SELECT user_pass FROM wp_users-- ' passes through the save phase unmodified and is embedded verbatim into the query at render time.
Know when Wordpress Plugin 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
UI:R assigned because SQL payload execution requires a second user to view the Questions tab; all other metrics align with the official vector.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Quiz Master Next plugin for WordPress is vulnerable to SQL Injection via stored quiz page data in versions up to, and including, 11.2.0. This is due to insufficient escaping on the user-supplied 'pages' parameter persisted by the qsm_ajax_save_pages() AJAX handler (sanitize_text_field only) and lack of sufficient preparation on the existing SQL query built in qsm_options_questions_tab_content() at line 143, where the stored page IDs are interpolated into an IN() clause via implode() with no $wpdb->prepare() and no integer casting. This makes it possible for authenticated attackers, with Author-level access and above (who can own a quiz they are entitled to edit), to plant a SQL payload that is executed second-order whenever any user (including an administrator) views the quiz's Questions tab, allowing them to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-44885
GHSA-4895-w473-xhfc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB