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

Published Apr 17, 2026
·
Updated

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 doshortcode() on user-submitted quiz answer text. User-submitted answers pass through sanitizetextfield() and htmlspecialchars(), which only strip HTML tags but do not encode or remove shortcode brackets [ and ]. When quiz results are displayed, the plugin calls doshortcode() 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 [qsmresult id=X] to access other users' quiz submissions without authorization, as the qsmresult shortcode lacks any authorization checks.

Affected Software

1 affected component
Quiz and Survey Master Quiz and Survey Master<=11.1.0

Event History

Apr 17, 2026
CVE Published
via MITRE·05:29 AM
Data Sourced
via MITRE·05:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
May 21, 58279
Event
via FIRST·05:51 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-5797?

CVE-2026-5797 is classified as a high severity vulnerability due to its potential for unauthenticated shortcode injection.

2

How do I fix CVE-2026-5797?

To fix CVE-2026-5797, update the Quiz and Survey Master plugin to version 11.1.1 or later.

3

Who is affected by CVE-2026-5797?

Users of the Quiz and Survey Master plugin for WordPress versions 11.1.0 and earlier are affected by CVE-2026-5797.

4

What is the impact of CVE-2026-5797?

The impact of CVE-2026-5797 includes the potential for arbitrary quiz result disclosure through shortcode injection.

5

Can CVE-2026-5797 be exploited remotely?

Yes, CVE-2026-5797 can be exploited remotely since it allows unauthenticated users to inject shortcodes.

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