CVE-2026-13767

Quiz and Survey Master (QSM) <= 11.2.0 - Authenticated (Custom+) SQL Injection via 'pages' Parameter

Published Jul 16, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Quiz Master Next plugin for WordPress stores the user supplied *pages* parameter without proper escaping and later injects this value directly into an IN() clause of an SQL query. As a result, an authenticated user who can edit or own a quiz can inject a malicious payload that will be executed when any visitor, including administrators, opens the quiz’s Questions tab. The vulnerability is a second‑order injection and can be used to read or tamper with sensitive database contents. The weakness is a classic input validation error, identified as CWE‑89.

Affected Systems

The flaw affects all installations of the Quiz and Survey Master – Quiz Maker & Survey Maker plugin from expresstech running version 11.2.0 or earlier on WordPress sites. Users with Author‑level access or higher who can edit a quiz are able to inject payloads. Any site using that plugin version is at risk, regardless of other WordPress settings.

Risk and Exploitability

The CVSS score of 6.5 classifies the issue as moderate severity. The EPSS score of less than 1% indicates a very low real‑world exploitation probability at present, and the vulnerability is not listed in the CISA KEV catalog. Attacks require valid authenticated credentials with at least Author role; the attack vector is second‑order, relying on the quiz’s Questions view to trigger execution. Because the payload is stored, any subsequent request that renders the quiz can result in data retrieval or modification.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Quiz and Survey Master to the latest version where the vulnerable code has been removed.
  • If an immediate upgrade is not possible, deactivate the plugin to remove the attack surface.
  • Restrict quiz editing privileges to administrators only, thereby denying non‑admin users the ability to inject payloads.
  • Consider manually removing or sanitizing any stored page data that may contain malicious content if deactivation is not an option.

Generated by OpenCVE AI on July 31, 2026 at 02:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Expresstech
Expresstech quiz And Survey Master (qsm) – Easy Quiz And Survey Maker
Wordpress
Wordpress wordpress
Vendors & Products Expresstech
Expresstech quiz And Survey Master (qsm) – Easy Quiz And Survey Maker
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Quiz and Survey Master (QSM) <= 11.2.0 - Authenticated (Custom+) SQL Injection via 'pages' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 16, 2026, 3:11 PM
Reserved
Jun 29, 2026, 8:06 PM
Status
Deferred
Published
Jul 16, 2026, 9:16 AM
Modified
Jul 16, 2026, 4:19 PM