# Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker <= 11.2.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Question Featured Image

- **ID:** WPSEC-2026-1584
- **Plugin:** Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker (`quiz-master-next`), https://wordpress.org/plugins/quiz-master-next/
- **Affected versions:** all versions before 11.2.9
- **Fixed in:** 11.2.9 (Update to 11.2.9 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-10-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/quiz-master-next
- **Fix released:** 2026-10-23
- **Published:** 2026-10-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1584/

## Description

The Quiz and Survey Master (QSM) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the question 'featureImageSrc' parameter in all versions up to, and including, 11.2.8 due to insufficient input sanitization and output escaping. The value was only passed through sanitize_text_field(), which does not remove quote characters, and was then concatenated into HTML in the admin question editor. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that will execute whenever a user, such as an administrator, opens the affected question in the quiz editor.

## References

- https://wpsec.com/vuln/WPSEC-2026-1584/
- https://plugins.svn.wordpress.org/quiz-master-next/tags/11.2.9/
- https://wordpress.org/plugins/quiz-master-next/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1584/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
