WordPress Plugin Vulnerabilities

Quiz and Survey Master (QSM) < 11.0.0 - Authenticated (Contributor+) SQL Injection via 'merged_question' Parameter

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.

Affects Plugins

Fixed in 11.0.0

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
d.v4n_s3c
Verified
No

Timeline

Publicly Published
2026-03-23 (about 3 months ago)
Added
2026-03-23 (about 3 months ago)
Last Updated
2026-03-23 (about 3 months ago)

Other