CVEvulnerability
CVE-2021-24221
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-04-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-89
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.
Affected configurations
• expresstech quiz and survey master (< 7.1.12)
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://plugins.trac.wordpress.org/changeset/2479603/ Patch, Third Party Advisory
- https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab Exploit, Third Party Advisory
- https://plugins.trac.wordpress.org/changeset/2479603/ Patch, Third Party Advisory
- https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab Exploit, Third Party Advisory