{
 "id": "WPSEC-2026-0466",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0466/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0466/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0466/index.md",
 "title": "Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker <= 11.2.7 - Unauthenticated Arbitrary Shortcode Execution via 'result_id' and 'qsm_unique_key' Parameters",
 "description": "The Quiz and Survey Master (QSM) plugin for WordPress is vulnerable to arbitrary shortcode execution via the 'qsm_unique_key' and 'result_id' parameters in versions 11.2.6 to 11.2.7. This is due to the plugin storing a visitor-supplied 'qsm_unique_key' as the result's unique ID and later concatenating the 'result_id' value into a shortcode string passed to do_shortcode() without removing shortcode delimiters. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes on the site.",
 "plugin": {
  "slug": "quiz-master-next",
  "name": "Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker",
  "full_name": "Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker",
  "wordpress_org": "https://wordpress.org/plugins/quiz-master-next/",
  "advisories_url": "https://wpsec.com/vuln/plugin/quiz-master-next/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/quiz-master-next"
 },
 "type": "UNKNOWN",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "11.2.6",
    "from_inclusive": true,
    "to": "11.2.8",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 11.2.6 before 11.2.8"
  ]
 },
 "introduced_in": "11.2.6",
 "fixed_in": "11.2.8",
 "remediation": "Update to 11.2.8 or later.",
 "fix_released": "2026-10-05T15:12:29+00:00",
 "published": "2026-10-06T18:46:14+00:00",
 "updated": "2026-10-06T18:33:27.988060+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0466/",
  "https://plugins.svn.wordpress.org/quiz-master-next/tags/11.2.8/",
  "https://wordpress.org/plugins/quiz-master-next/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/quiz-master-next",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Low",
  "as_of": "2026-10-06"
 }
}