Quiz And Survey Master <= 7.1.11 — Authenticated SQL injection via shortcode
CVE-2021-24221Published · Updated Action summary
Affected: ≤7.1.11Update to 7.1.12 or newer
All remediation steps- Severity
- High8.8
- CVSS
- 8.8CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Weakness
- CWE-89 SQL Injection
- Required access
- Unknown
- 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≤ 7.1.11
- Patched in7.1.12
Update to 7.1.12 or newer.
You are affected if you run ≤ 7.1.11. Version 7.1.12 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.
What to do
- Update to version 7.1.12, 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 Nguyen Van Khanh.
The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress plugin before 7.1.12 did not sanitise the result_id GET parameter on pages with the [qsm_result] shortcode without id attribute, concatenating it in a SQL statement and leading to an SQL injection. The lowest role allowed to use this shortcode in post or pages being author, such user could gain unauthorised access to the DBMS. If the shortcode (without the id attribute) is embed on a public page or post, then unauthenticated users could exploit the injection.
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
Same weakness (SQL Injection)
All SQL Injection| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity high, CVSS 8.8
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.
