CVE-2021-24221

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

Published Apr 12, 2021 CVSS 3.1 · 8.8 High EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-11135 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 3, 2024, 7:21 PM
Reserved
Jan 14, 2021, 12:00 AM
Status
Modified
Published
Apr 12, 2021, 2:15 PM
Modified
Jun 17, 2026, 3:39 AM