CVE-2021-24221: Quiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode

Published Apr 12, 2021
·
Updated

The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress plugin before 7.1.12 did not sanitise the resultid GET parameter on pages with the [qsmresult] shortcode without id attribute, concatenating it in a SQL statement and leading to an SQL injection. The lowest role allowed to use this shortcode in post or pages being author, such user could gain unauthorised access to the DBMS. If the shortcode (without the id attribute) is embed on a public page or post, then unauthenticated users could exploit the injection.

Other sources

The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress plugin before 7.1.12 did not sanitise the resultid GET parameter on pages with the [qsmresult] shortcode without id attribute, concatenating it in a SQL statement and leading to an SQL injection. The lowest role allowed to use this shortcode in post or pages being author, such user could gain unauthorised access to the DBMS. If the shortcode (without the id attribute) is embed on a public page or post, then unauthenticated users could exploit the injection.

Affected Software

1 affected component
ExpressTech Quiz And Survey Master<7.1.12

Event History

Apr 12, 2021
CVE Published
via MITRE·02:03 PM
Data Sourced
via MITRE·02:03 PM
DescriptionWeakness

Frequently Asked Questions

1

What is CVE-2021-24221?

CVE-2021-24221 is a vulnerability in the Quiz And Survey Master plugin for WordPress that allows for SQL injection.

2

What is the severity of CVE-2021-24221?

CVE-2021-24221 has a severity rating of 8.8 (high).

3

How does CVE-2021-24221 occur?

CVE-2021-24221 occurs due to the failure to safely sanitize the result_id GET parameter in certain shortcode usages, leading to an SQL injection vulnerability.

4

What is the affected software?

The affected software is Quiz And Survey Master plugin for WordPress version up to 7.1.12.

5

How can I fix CVE-2021-24221?

To fix CVE-2021-24221, update the Quiz And Survey Master plugin to version 7.1.12 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203