Vulnerabilities / Sensei LMS / WPSEC-2026-0063

Sensei LMS <= 4.26.3 - Authenticated (Teacher+) Insecure Direct Object Reference to Arbitrary Post Overwrite via quiz_id

Medium 5.3 CWE-639Fixed in 4.26.4
ID
WPSEC-2026-0063
Plugin
Sensei LMS – Online Courses, Quizzes, & Learning (sensei-lms)
Affected
all versions before 4.26.4
Remediation
Update to 4.26.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-22
Attack surface
Sensei LMS on WPSec AttackSurface
Fix released
Published

Description

The Sensei LMS plugin for WordPress is vulnerable to an Insecure Direct Object Reference in all versions up to, and including, 4.26.3. The legacy (non-block) quiz save handler, Sensei_Lesson::quiz_update(), runs when a lesson is saved. It took the target quiz ID from the user-supplied 'quiz_id' parameter and passed it to wp_update_post() without checking the ID's post type or ownership. The update sets post_type to 'quiz', blanks the content, and copies the lesson's title and status. This makes it possible for authenticated attackers with teacher-level access and above to overwrite any post or page on the site, including other users' content, when the legacy quiz editor path runs.

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