CVE-2021-24221: Quiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode
Vulnerability summary
CVE-2021-24221 is a high (CVSS 8.8) vulnerability in expresstech quiz and survey master. EPSS estimates a 1.89% chance of exploitation in the next 30 days, higher than 80.3% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 7.1.12.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 12-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.89%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.89% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Expresstech1 product
- quiz and survey master< 7.1.12
Unknown1 product
- quiz and survey master – best quiz, exam and survey plugin for wordpress≥ 7.1.12, < 7.1.12
Wordpress1 product
- quiz-master-next≤ 7.1.11 (fixed in 7.1.12)
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5abX Refsource CONFIRMExploitThird Party Advisory