Quiz And Survey Master <= 7.1.11 - Authenticated SQL injection via shortcode

8.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-24221
CVSS 8.8 (High)
Publicly Published March 26, 2021
Last Updated February 2, 2023
Researcher Nguyen Van Khanh

Description

The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress plugin before 7.1.12 did not sanitise the result_id GET parameter on pages with the [qsm_result] 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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker

Software Type Plugin
Software Slug quiz-master-next (view on wordpress.org)
Patched? Yes
Remediation Update to version 7.1.12, or a newer patched version
Affected Version
  • <= 7.1.11
Patched Version
  • 7.1.12

Recent vulnerabilities in Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker

# Title CVE ID CVSS Researchers Date
1 Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker < 11.2.4 - Authenticated (Contributor+) Insecure Direct Object Reference CVE-2026-79615 4.3 Shikhali Jamalzade August 28, 2026
2 Quiz And Survey Master <= 11.2.3 - Authenticated (Contributor+) Insecure Direct Object Reference CVE-2026-14826 4.3 Revanth Hari Narayana Matte August 17, 2026
3 Quiz And Survey Master <= 11.2.3 - Authenticated (Contributor+) Insecure Direct Object Reference CVE-2026-14825 4.3 Revanth Hari Narayana Matte August 17, 2026
4 Quiz and Survey Master (QSM) <= 11.2.1 - Authenticated (Contributor+) SQL Injection via 'randon_category' Quiz Option CVE-2026-15963 6.5 Wordfence PRISM August 15, 2026
5 Quiz and Survey Master (QSM) <= 11.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'question_title' Parameter CVE-2026-11780 6.4 Jonah Burgess (CryptoCat) August 15, 2026
6 Quiz And Survey Master <= 11.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-14824 6.4 Meher Sudhakar Abbireddi July 27, 2026
7 Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker <= 11.2.0 - Authenticated (Contributor+) SQL Injection CVE-2026-65454 6.5 anhcd05 July 22, 2026
8 Quiz and Survey Master (QSM) <= 11.2.0 - Authenticated (Custom+) SQL Injection via 'pages' Parameter CVE-2026-13767 6.5 Wordfence PRISM July 15, 2026
9 Quiz And Survey Master <= 11.1.4 - Missing Authorization CVE-2026-14821 4.3 Md. Minaruzzaman Shovon July 7, 2026
10 Quiz and Survey Master (QSM) <= 11.1.4 - Missing Authorization to Authenticated (Contributor+) Arbitrary Quiz Modification and Email Reroute via Leaked Nonce from /quiz/structure CVE-2026-9230 4.3 alex_henry20 July 2, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation