Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker: SQL injection
Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker is affected by SQL injection. Exploitation requires at least contributor-level access. A successful request can alter database queries and expose or modify WordPress data. The published affected range is <= 10.3.5.
- Component
- Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker
- Plugin slug
quiz-master-next- Affected
- <= 10.3.5
- Safe version
> 10.3.5- Published
- Mar 23, 2026
This CVE was published Mar 23, 2026 and is one of 43 known issues for this plugin.
Patch or disable the affected component.
Update Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker to a release after 10.3.5, or disable and remove it until a fixed version is available.
Technical description
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 is due to 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N