{
 "id": "WPSEC-2026-0514",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0514/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0514/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0514/index.md",
 "title": "Tutor LMS <= 4.1.0 - Authenticated (Tutor Instructor+) Stored Cross-Site Scripting via Quiz Layout Setting",
 "description": "The Tutor LMS plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the quiz 'question_layout_view' setting in versions 4.0.0 to 4.1.0 due to insufficient input sanitization and output escaping. The setting was saved with only text sanitization and printed into a JavaScript string inside an Alpine.js attribute on the quiz attempt page using attribute escaping, which the browser decodes before the expression is evaluated. This makes it possible for authenticated attackers with Tutor Instructor-level access and above to inject arbitrary web scripts that execute whenever a user takes the affected quiz.",
 "plugin": {
  "slug": "tutor",
  "name": "Tutor LMS",
  "full_name": "Tutor LMS – eLearning and online course solution",
  "wordpress_org": "https://wordpress.org/plugins/tutor/",
  "advisories_url": "https://wpsec.com/vuln/plugin/tutor/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/tutor"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0.0",
    "from_inclusive": true,
    "to": "4.1.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0.0 before 4.1.1"
  ]
 },
 "introduced_in": "4.0.0",
 "fixed_in": "4.1.1",
 "remediation": "Update to 4.1.1 or later.",
 "fix_released": "2026-10-06T11:07:46+00:00",
 "published": "2026-10-07T11:46:41+00:00",
 "updated": "2026-10-06T14:18:51.926593+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0514/",
  "https://plugins.svn.wordpress.org/tutor/tags/4.1.1/",
  "https://wordpress.org/plugins/tutor/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/tutor",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-07"
 }
}