Quiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode

Check todayFull system takeover over the network by a logged-in user.
8.8HIGH

Key Information:

Vendor

Wordpress

CVE ID
CVE ID:
CVE-2021-24221
Vendor
CVE Published:
12 April 2021
Fixed in
Fixed in:
7.1.12

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress below 7.1.12 is vulnerable
Install Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress 7.1.12 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2021-24221?

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.

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more Wordpress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Nguyen Van Khanh - SunCSR (Sun* Cyber Security Research)
.