# Tutor LMS <= 4.1.0 - Authenticated (Tutor Instructor+) Stored Cross-Site Scripting via Quiz Question Feedback

- **ID:** WPSEC-2026-0519
- **Plugin:** Tutor LMS – eLearning and online course solution (`tutor`), https://wordpress.org/plugins/tutor/
- **Affected versions:** from 4.1.0 before 4.1.1
- **Fixed in:** 4.1.1 (Update to 4.1.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-10-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/tutor
- **Fix released:** 2026-10-06
- **Published:** 2026-10-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0519/

## Description

The Tutor LMS plugin for WordPress is vulnerable to Stored Cross-Site Scripting via per-question quiz feedback in version 4.1.0 due to insufficient output escaping. Feedback text was printed as JSON inside a single-quoted Alpine.js attribute on the quiz attempt review page without escaping single quotes, which allows breaking out of the attribute. This makes it possible for authenticated attackers with Tutor Instructor-level access and above to inject arbitrary web scripts that execute when another user, such as an administrator, reviews the affected quiz attempt.

## References

- https://wpsec.com/vuln/WPSEC-2026-0519/
- https://plugins.svn.wordpress.org/tutor/tags/4.1.1/
- https://wordpress.org/plugins/tutor/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0519/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
