Description
The Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'qsm_hidden_questions' parameter in all versions up to, and including, 11.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the attacker to force the mlw_results INSERT to fail by submitting an over-length or duplicate qsm_unique_key value, which triggers the audit trail code branch that writes the unescaped payload to wp_mlw_qm_audit_trail.form_data.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
expresstech Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker
Default version status: unaffected
0 to ≤ 11.2.6affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0e344974-08c8-45a5-a0f4-3780ce00928b?source=cve ↗
- https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/11.2.6/js/qsm-admin.js#L758 ↗
- https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/11.2.6/php/classes/class-qmn-quiz-manager.php#L3002 ↗
- https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/11.2.6/php/classes/class-qsm-audit.php#L36 ↗
- https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/11.2.6/php/admin/tools-page.php#L548 ↗
- https://plugins.trac.wordpress.org/browser/quiz-master-next/tags/11.2.6/php/classes/class-qmn-quiz-manager.php#L2850 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3711419%40quiz-master-next&new=3711419%40quiz-master-next ↗