Quiz and Survey Master (QSM) <= 11.1.0 - Unauthenticated Shortcode Injection Leading to Arbitrary Quiz Result Disclosure via Quiz Answer Text Input Fields

5.3
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVE CVE-2026-5797
CVSS 5.3 (Medium)
Publicly Published April 16, 2026
Last Updated April 17, 2026
Researcher Rafshanzani Suhada

Description

The Quiz And Survey Master plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to and including 11.1.0. This is due to insufficient input sanitization and the execution of do_shortcode() on user-submitted quiz answer text. User-submitted answers pass through sanitize_text_field() and htmlspecialchars(), which only strip HTML tags but do not encode or remove shortcode brackets [ and ]. When quiz results are displayed, the plugin calls do_shortcode() on the entire results page output (including user answers), causing any injected shortcodes to be executed. This makes it possible for unauthenticated attackers to inject arbitrary WordPress shortcodes such as [qsm_result id=X] to access other users' quiz submissions without authorization, as the qsm_result shortcode lacks any authorization checks.

References

Share

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

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

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

# Title CVE ID CVSS Researchers Date
1 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 Kirasec July 2, 2026
2 Quiz and Survey Master (QSM) <= 11.1.4 - Missing Authorization to Authenticated (Contributor+) Arbitrary Modification via qsm_insert_quiz_template AJAX Action CVE-2026-9233 4.3 Weerawat Pawanawiwat (ErbaZZ) June 26, 2026
3 Quiz and Survey Master (QSM) <= 11.1.2 - Authenticated (Admin+) SQL Injection via 'order' and 'limit' Parameters CVE-2026-6448 4.9 Drew Webber (mcdruid) June 5, 2026
4 Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker <= 11.1.2 - Unauthenticated Stored Cross-Site Scripting CVE-2026-48867 7.2 endy June 3, 2026
5 Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker <= 11.0.0 - Unauthenticated Stored Cross-Site Scripting CVE-2026-40787 7.2 Jakub Herman April 23, 2026
6 Quiz and Survey Master (QSM) <= 10.3.5 - Authenticated (Contributor+) SQL Injection via 'merged_question' Parameter CVE-2026-2412 6.5 d.v4n_s3c March 23, 2026
7 Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker <= 10.3.4 - Missing Authorization CVE-2026-25329 4.3 Mohammad Amin Hajian (mamadrce) February 5, 2026
8 Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker <= 10.3.4 - Unauthenticated Insecure Direct Object Reference CVE-2026-25324 5.3 johska February 1, 2026
9 Quiz And Survey Master <= 10.3.1 - Authenticated (Subscriber+) SQL Injection CVE-2025-67987 6.5 Doan Dinh Van (d52v) January 28, 2026
10 Quiz And Survey Master <= 10.3.3 - Missing Authorization CVE-2026-24358 4.3 daroo January 8, 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