CVE-2026-5797
Last modified
CVE-2026-5797 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5797?
How severe is CVE-2026-5797?
How do I fix CVE-2026-5797?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57962A malicious LDAP server, which a Thunderbird user is configu…5.3
- CVE-2026-57963An attacker who can send HTML chat messages (via Matrix or X…6.5
- CVE-2026-57965A flaw was found in spice-vdagent. A malicious or compromise…5.1
- CVE-2026-57966A path traversal vulnerability was found in spice-vdagent. T…4.4
- CVE-2026-57968Buffer over-read in Windows Subsystem for Linux allows an au…7.8
- CVE-2026-57969Missing authentication for critical function in Azure CycleC…8.8
- CVE-2026-57973Time-of-check time-of-use (toctou) race condition in Windows…4.7
- CVE-2026-57974Integer overflow or wraparound in Microsoft Edge (Chromium-b…8.8
- CVE-2026-57975Access of resource using incompatible type ('type confusion'…7.5
- CVE-2026-57976Null pointer dereference in Active Directory Domain Services…6.5
- CVE-2026-57977Improper neutralization of input during web page generation …7.1
- CVE-2026-57978Origin validation error in Microsoft Edge (Chromium-based) a…5.4
Are you affected by CVE-2026-5797?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
