Skip to main content

Quiz And Survey Master Qsm Easy Quiz And Survey Maker EUVDEUVD-2026-23373

| CVE-2026-5797 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-04-17 Wordfence GHSA-7rv8-2hr2-39f9
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit quiz with shortcode payload
  2. Delivery
    Shortcode stored in database unencoded
  3. Exploit
    Results page displayed
  4. Execution
    do_shortcode() processes user answer
  5. Persist
    qsm_result shortcode executes
  6. Impact
    Unauthorized quiz data accessed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Exploitation requires the target WordPress site to have the Quiz And Survey Master plugin installed and activated with vulnerable versions (11.1.0 or earlier). The attacker must be able to submit a quiz form accessible on the site (no authentication required due to PR:N in CVSS vector). The quiz must allow text-type answers or custom answer fields that are displayed in results pages, as the vulnerability specifically affects user-submitted answer text processed by do_shortcode(). The plugin must not have custom server-side filters overriding or removing the vulnerable do_shortcode() call on results output. Non-default configurations that mitigate this attack include: manually disabling quiz results display in plugin settings, using a custom shortcode whitelist filter (if the plugin provides hooks) to prevent qsm_result execution, or restricting quiz access via HTTP authentication upstream of WordPress. Sites running patched versions after 11.1.0, or sites where quiz results are never displayed to end users, are not vulnerable.

Impact

The CVSS 5.3 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) indicates network-accessible, unauthenticated, low-complexity exploitation with integrity impact but no confidentiality or availability impact, placing this in the medium-risk category by CVSS standards. However, the 'RCE' tag in input data is misleading-the CVSS vector explicitly shows C:N (no confidentiality), I:L (low integrity), A:N (no availability), and S:U (unchanged scope), confirming this is an information disclosure or integrity issue, not remote code execution. The actual attack allows unauthorized reading of other users' quiz submissions (confidentiality violation, missing from CVSS but implied by the qsm_result access pattern) and injection of arbitrary shortcodes (integrity violation). Critically, the lack of a POC confirmation and KEV status unknown means real-world exploitation is not yet confirmed in public feeds, suggesting this may be disclosed vulnerability awaiting adoption by threat actors. The AC:L (low complexity) and PR:N (no privilege required) factors indicate trivial exploitation-an attacker simply submits a quiz with shortcode-containing answers. The UI:N (no user interaction required) is confirmed by the CVSS vector, meaning no social engineering or user actions are needed beyond initial quiz submission. The vulnerability's actual impact (unauthorized access to other users' data) is more severe than CVSS integrity rating suggests, implying EPSS exploitation probability may be higher than the conservative CVSS score alone would indicate. This is a realistic, high-priority vulnerability for WordPress sites using this plugin, especially those handling sensitive quiz data (employee assessments, student records, patient questionnaires).

Exploit ScenarioDerived

An attacker visits a WordPress site running Quiz And Survey Master and identifies a publicly accessible quiz. The attacker submits the quiz with a malicious answer containing the shortcode [qsm_result id=1], which when stored and displayed in quiz results, is processed by do_shortcode() and executed, returning the quiz results of quiz ID 1. By iterating through different quiz IDs in subsequent submissions, the attacker systematically enumerates and accesses all quiz submissions site-wide, potentially harvesting email addresses, names, responses, and other user data stored in quiz results without any authorization.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Quiz And Survey Master plugin for WordPress (versions up to 11.1.0) allows unauthenticated attackers to execute arbitrary WordPress shortcodes via user-submitted quiz answers. User inputs are sanitized with sanitize_text_field() and htmlspecialchars(), which strip HTML tags but fail to remove shortcode brackets [ and ]. When quiz results are displayed, the plugin executes do_shortcode() on the entire results page including user answers, enabling injection of shortcodes like [qsm_result id=X] to access unauthorized quiz submissions. This is a direct information disclosure vulnerability masked by RCE tagging; confirmed CVSS 5.3 (Integrity impact) indicates data tampering/unauthorized access rather than code execution.

RemediationAI

Update Quiz And Survey Master plugin to a patched version released after 11.1.0. Immediate remediation requires applying a patch that neutralizes shortcode brackets in user-submitted answers before they are stored or processed by do_shortcode()-either by escaping [ and ] characters (e.g., using wp_kses_post() with restricted allowed HTML), stripping them entirely, or by calling do_shortcode() only on plugin-controlled template output, not on user data. The WordPress SVN repository reference indicates patches may already be committed; check the plugin's WordPress.org page or GitHub repository (if public) for the latest stable release, and upgrade immediately. As a temporary workaround until patching is possible, disable the Quiz And Survey Master plugin entirely if it is not actively in use, or restrict quiz access to authenticated users only via the WordPress admin settings (reducing attack surface from unauthenticated to authenticated attackers). If the plugin is actively used, implement a Web Application Firewall (WAF) rule to block HTTP requests containing shortcode syntax (regex pattern \[.*?\]) in quiz submission POST parameters; note that this may block legitimate use cases where users intentionally enter square-bracket text. Additionally, audit quiz results and submissions from the past several months for anomalous shortcode injections (check the wp_posts or plugin's custom tables for entries containing [ characters) to detect if exploitation has already occurred. Add capability checks and nonce verification to any shortcode that accesses or displays user data (specific to the qsm_result shortcode), ensuring only authorized users can view quiz submissions.

Affected VersionsENISA

Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker 0 ≤10.1.0

Affected Packages

euvd quiz_and_survey_master_qsm_easy_quiz_and_survey_maker no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from improper use of WordPress's output encoding and shortcode processing functions. WordPress shortcodes are delimited by square brackets [shortcode] and are processed server-side by the do_shortcode() function, which recursively evaluates and replaces shortcode syntax with dynamic content. The Quiz And Survey Master plugin (identified via CPE as expresstech's quiz_and_survey_master_qsm) sanitizes user quiz answers using sanitize_text_field() and htmlspecialchars(), both of which are designed to prevent HTML/JavaScript injection, not shortcode injection. The sanitize_text_field() function removes HTML tags but explicitly preserves square brackets per WordPress documentation. When results are rendered, do_shortcode() is called on the entire results page output (including stored user answers from the database), causing injected shortcodes to be parsed and executed with the same permissions as the quiz plugin. The qsm_result shortcode, which displays quiz results indexed by ID, lacks authorization checks (nonce validation or capability checks), allowing unauthenticated access to arbitrary quiz submissions. This is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component / 'Injection'), as user input is not neutralized before being processed by a downstream dangerous function (do_shortcode).

Know when Quiz And Survey Master Qsm Easy Quiz And Survey Maker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

The 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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy