CVE-2026-5797 json
Quiz and Survey Master (QSM) <= 11.1.0 - Unauthenticated Shortcode Injection Leading to Arbitrary Quiz Result Disclosure via Quiz Answer Text Input Fields
published 2026-04-17 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-23373
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected products
- expresstech Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/f2aa33cc-c1c4-42d4-9c2f-54648426ee4b?source=cve
- plugins.trac.wordpress.org /browser/quiz-master-next/trunk/php/classes/class-qsm-results-pages.php#L193
- plugins.trac.wordpress.org /browser/quiz-master-next/tags/10.3.5/php/classes/class-qsm-results-pages.php#L193
- plugins.trac.wordpress.org /browser/quiz-master-next/trunk/php/classes/class-qmn-quiz-manager.php#L572
- plugins.trac.wordpress.org /browser/quiz-master-next/tags/10.3.5/php/classes/class-qmn-quiz-manager.php#L572
- plugins.trac.wordpress.org /browser/quiz-master-next/trunk/php/classes/question-types/class-question-review-text.php#L15
- plugins.trac.wordpress.org /browser/quiz-master-next/tags/10.3.5/php/classes/question-types/class-question-review-text.php#L15
- plugins.trac.wordpress.org /browser/quiz-master-next/trunk/php/classes/question-types/class-question-review.php#L40
- plugins.trac.wordpress.org /browser/quiz-master-next/tags/10.3.5/php/classes/question-types/class-question-review.php#L40
- plugins.trac.wordpress.org /changeset?sfp_email=&sfph_mail=&reponame=&old=3506094%40quiz-master-next&new=3506094%40quiz-master-next&sfp_e
Sources
- CVE List CVE-2026-5797
- NVD CVE-2026-5797
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.