CVE-2021-24221
publishedQuiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Unknown | — | Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress7.1.12 to < 7.1.12 | Affected | Not stated | WPScan |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Unknown | Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress | 7.1.12 to < 7.1.12 (affected · custom) | WPScan · cna |
Weaknesses
1- CWE-89 CWE-89 SQL Injection
References
2Provider assertions
2WPScan · cna
Quiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7361efe6629348f3651cee7ac72c770f1b766cf246b9002d27589291f5ca86e5
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record