CVE-2021-24221

HIGH

Quiz And Survey Master < 7.1.12 - SQL Injection via result_id GET Parameter

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab
Patch, Third Party Advisory x_refsource_misc
https://plugins.trac.wordpress.org/changeset/2479603/

Scores

CVSS v3 8.8
EPSS 0.0189
EPSS Percentile 77.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (1)
expresstech/quiz_and_survey_master < 7.1.12
Published Apr 12, 2021
Tracked Since Feb 18, 2026