CVE-2021-24221

published 12 Apr 2021 · updated 3 Aug 2024

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

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 7.1.12.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=7.1.12 <7.1.127.1.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24221 severity on Zeptric[![CVE-2021-24221](https://zeptric.io/badge/cve/CVE-2021-24221.svg)](https://zeptric.io/cve/CVE-2021-24221)