CVE-2026-5797 MEDIUM

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

Vendor Expresstech
Product Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker
Weakness CWE-74
Published April 17, 2026
Last update April 17, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Quiz and Survey Master versions up to 10.1.0 contain an input validation flaw that allows unauthenticated attackers to modify data on the site. The vulnerability requires no user interaction and can be exploited over the network. Site administrators should update to a version newer than 10.1.0 to remediate the issue.

What an attacker can do

03Attacker Capabilities

Modify quiz, survey, or other site data without authentication.

Potential impact on your site

04Site Impact

Quiz and survey content could be altered or corrupted by unauthorized parties.

Conditions required to exploit

05Prerequisites

Network access only; no authentication or user interaction required.

Key dates

06Disclosure timeline

April 17, 2026 CVE published
April 17, 2026 Record updated