CVE-2026-5797: Quiz and Survey Master (QSM) (WordPress plugin) · Injection
Affects Quiz and Survey Master (QSM) (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| expresstechQuiz and Survey Master (QSM) – Easy Quiz and Survey Maker | Affected
| Fixed in– |
AI-suggested
Until a fix is available, administrators should consider disabling the Quiz And Survey Master plugin or restricting quiz answer inputs to trusted users. Monitoring plugin updates from expresstech is recommended to apply an official fix once released. Avoid using untrusted user input in shortcode execution contexts.
Description
The Quiz And Survey Master (QSM) WordPress plugin up to version 11.1.0 is vulnerable to arbitrary shortcode execution due to improper sanitization of user-submitted quiz answers. The plugin executes do_shortcode() on quiz results output, allowing injected shortcodes to run. This enables unauthenticated attackers to inject shortcodes like [qsm_result id=X] to view other users' quiz submissions without authorization. The vulnerability arises because sanitize_text_field() and htmlspecialchars() do not remove shortcode brackets, and the qsm_result shortcode lacks authorization checks.
References
- wordfence.com/threat-intel/vulnerabilities/id/f2aa33cc-c1c4-42d4-9c2f-54648426ee4b?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/class-qsm-results-pages.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/class-qsm-results-pages.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/class-qmn-quiz-manager.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/class-qmn-quiz-manager.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/question-types/class-question-review-text.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/question-types/class-question-review-text.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/question-types/class-question-review.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/question-types/class-question-review.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3506094%40quiz-master-next&new=3506094%40quiz-master-next&sfp_email=&sfph_mail= (opens in a new tab)