Quiz and Survey Master (QSM) <= 11.1.0 — Unauthenticated Shortcode Injection Leading to Arbitrary Quiz Result Disclosure via Quiz Answer Text Input Fields
CVE-2026-5797Published · Updated Action summary
Affected: ≤10.1.0Update to 11.1.1 or newer
All remediation steps- Severity
- Medium5.3
- CVSS
- 5.3CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:LIntegrity- Low
A:NAvailability- None
- Required access
- No account needed
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker quiz-master-next
- Affected≤ 10.1.0
- Patched in11.1.1
Update to 11.1.1 or newer.
You are affected if you run ≤ 10.1.0. Version 11.1.1 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker.
- No admin access? Run a passive check of your site. It reads public files only.
- No account is needed to exploit this. Treat any exposed site on an affected version as at risk.
What to do
- Update to version 11.1.1, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Rafshanzani Suhada.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker
All 84| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.5 | Authenticated (Contributor+) SQL Injection via 'qpages' Parameter ≤11.2.9Update to 11.3.0 | CVE-2026-116509 | |
| Medium6.5 | Unauthenticated Arbitrary Shortcode Execution via 'qsm_unique_key' Parameter ≤11.2.7Update to 11.2.8 | CVE-2026-103917 | |
| High7.5 | Authenticated (Contributor+) PHP Object Injection ≤11.2.7Update to 11.2.8 | CVE-2026-111408 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤11.2.7Update to 11.2.8 | CVE-2026-107862 | |
| High7.2 | Unauthenticated Stored DOM-Based Cross-Site Scripting via 'qsm_hidden_questions' Parameter ≤11.2.6Update to 11.2.7 | CVE-2026-96558 |
- Medium6.5Authenticated (Contributor+) SQL Injection via 'qpages' Parameter
≤11.2.9Update to 11.3.0
- Medium6.5Unauthenticated Arbitrary Shortcode Execution via 'qsm_unique_key' Parameter
≤11.2.7Update to 11.2.8
- High7.5Authenticated (Contributor+) PHP Object Injection
≤11.2.7Update to 11.2.8
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤11.2.7Update to 11.2.8
- High7.2Unauthenticated Stored DOM-Based Cross-Site Scripting via 'qsm_hidden_questions' Parameter
≤11.2.6Update to 11.2.7
Timeline
CVE published
Severity medium, CVSS 5.3
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
