Vulnerabilities / Tutor LMS / WPSEC-2026-0514

Tutor LMS <= 4.1.0 - Authenticated (Tutor Instructor+) Stored Cross-Site Scripting via Quiz Layout Setting

Medium 6.4 CWE-79Fixed in 4.1.1
ID
WPSEC-2026-0514
Plugin
Tutor LMS – eLearning and online course solution (tutor)
Affected
from 4.0.0 before 4.1.1
Remediation
Update to 4.1.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-07
Attack surface
Tutor LMS on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0