CVE-2026-5797: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in expresstech Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker
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.
AI Analysis
Technical Summary
CVE-2026-5797 describes an injection vulnerability in the Quiz and Survey Master (QSM) WordPress plugin caused by insufficient neutralization of special elements in user input. The plugin sanitizes quiz answer text by removing HTML tags but does not encode or remove shortcode brackets, allowing attackers to inject arbitrary WordPress shortcodes. The plugin then executes these shortcodes on the quiz results page using do_shortcode(), including the injected ones, without performing authorization checks on the qsm_result shortcode. This flaw permits unauthenticated attackers to view other users' quiz submissions by injecting shortcodes such as [qsm_result id=X].
Potential Impact
The vulnerability allows unauthenticated attackers to inject and execute arbitrary WordPress shortcodes within quiz results pages. This leads to unauthorized disclosure of other users' quiz submission data due to lack of authorization checks on the qsm_result shortcode. There is no direct impact on confidentiality of the WordPress site beyond quiz data, and no known impact on availability or integrity beyond the injection of shortcodes. The CVSS score of 5.3 reflects a medium severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is available at this time. Until a patch is released, administrators should consider disabling the Quiz and Survey Master plugin or restricting access to quiz results pages to trusted users only. Monitoring for suspicious shortcode injection attempts and applying custom filters to sanitize shortcode brackets in user input may reduce risk. Follow vendor advisories closely for updates and official patches.
CVE-2026-5797: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in expresstech Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5797 describes an injection vulnerability in the Quiz and Survey Master (QSM) WordPress plugin caused by insufficient neutralization of special elements in user input. The plugin sanitizes quiz answer text by removing HTML tags but does not encode or remove shortcode brackets, allowing attackers to inject arbitrary WordPress shortcodes. The plugin then executes these shortcodes on the quiz results page using do_shortcode(), including the injected ones, without performing authorization checks on the qsm_result shortcode. This flaw permits unauthenticated attackers to view other users' quiz submissions by injecting shortcodes such as [qsm_result id=X].
Potential Impact
The vulnerability allows unauthenticated attackers to inject and execute arbitrary WordPress shortcodes within quiz results pages. This leads to unauthorized disclosure of other users' quiz submission data due to lack of authorization checks on the qsm_result shortcode. There is no direct impact on confidentiality of the WordPress site beyond quiz data, and no known impact on availability or integrity beyond the injection of shortcodes. The CVSS score of 5.3 reflects a medium severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is available at this time. Until a patch is released, administrators should consider disabling the Quiz and Survey Master plugin or restricting access to quiz results pages to trusted users only. Monitoring for suspicious shortcode injection attempts and applying custom filters to sanitize shortcode brackets in user input may reduce risk. Follow vendor advisories closely for updates and official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-08T14:08:20.955Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e1d07582d89c981f98f516
Added to database: 4/17/2026, 6:17:25 AM
Last enriched: 4/17/2026, 6:32:02 AM
Last updated: 4/21/2026, 1:45:23 AM
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.