CVE-2026-5797

Published: Apr 17, 2026 Last Modified: Apr 17, 2026
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 5,3
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: none
Integrity: low
Availability: none

Description

AI Translation Available

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.

74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Incomplete
Common Consequences
Security Scopes Affected:
Confidentiality Access Control Other Integrity Non-Repudiation
Potential Impacts:
Read Application Data Bypass Protection Mechanism Alter Execution Logic Other Hide Activities
Applicable Platforms
All platforms may be affected
View CWE Details
https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/cla…
https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/cla…
https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/cla…
https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/cla…
https://plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/c…
https://plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/c…
https://plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/q…
https://plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/q…
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&ol…
https://www.wordfence.com/threat-intel/vulnerabilities/id/f2aa33cc-c1c4-42d4-9c…