CVE-2026-113683: VPL for Moodle before 5.0.0 Reflected XSS via similarity/diff.php filename

Published Oct 20, 2026
·
Updated

VPL (Virtual Programming Lab) for Moodle before 5.0.0 contains a reflected cross-site scripting vulnerability that allows remote attackers to inject script via unencoded filename1/filename2 parameters in similarity/diff.php. Attackers can craft a diff.php link with a JavaScript payload that runs when a user holding mod/vpl:similarity opens it, performing actions or disclosing data under their session.

Affected Software

1 affected component
VPL Virtual Programming Lab for Moodle<5.0.0

Event History

Oct 20, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users are exposed to this attack?

Users who hold the mod/vpl:similarity capability are exposed if they open an attacker-crafted similarity/diff.php link. The injected script executes in the context of that user's Moodle session.

2

What does an attacker need to exploit the issue?

The attacker needs to craft a link to similarity/diff.php containing a JavaScript payload in the filename1 or filename2 parameter and persuade a user with mod/vpl:similarity to open it. No attacker authentication is specified.

3

Are installations running VPL 5.0.0 affected?

No. The issue affects VPL versions before 5.0.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203