Quiz and Survey Master (QSM) <= 11.1.0 - Unauthenticated Shortcode Injection Leading to Arbitrary Quiz Result Disclosure via Quiz Answer Text Input Fields

Summary

CVECVE-2026-5797
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-17 06:16:30 UTC
Updated2026-04-17 06:16:30 UTC
DescriptionThe Quiz And Survey Master plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to and including 11.1.0. This is due to insufficient input sanitization and the execution of do_shortcode() on user-submitted quiz answer text. User-submitted answers pass through sanitize_text_field() and htmlspecialchars(), which only strip HTML tags but do not encode or remove shortcode brackets [ and ]. When quiz results are displayed, the plugin calls do_shortcode() on the entire results page output (including user answers), causing any injected shortcodes to be executed. This makes it possible for unauthenticated attackers to inject arbitrary WordPress shortcodes such as [qsm_result id=X] to access other users' quiz submissions without authorization, as the qsm_result shortcode lacks any authorization checks.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

EPSS: 0.000340000 probability, percentile 0.099580000 (date 2026-04-20)

Problem Types: CWE-74 | CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
3.1CNADECLARED5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Expresstech Quiz And Survey Master QSM Easy Quiz And Survey Maker affected 10.1.0 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/changeset [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/class-qsm-results-... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/class-qsm-re... [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/f2aa33cc-c1c4-42d4-9c2f-54648... [email protected] www.wordfence.com
plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/class-qmn-quiz-man... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/question-typ... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/question-types/cla... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/class-qmn-qu... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/tags/10.3.5/php/classes/question-typ... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/quiz-master-next/trunk/php/classes/question-types/cla... [email protected] plugins.trac.wordpress.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Rafshanzani Suhada (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-04-16T16:42:59.000ZDisclosed
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report