What’s Vulnerable › Vulnerabilities
CVE-2026-113683: VPL for Moodle before 5.0.0 Reflected XSS via similarity/diff.php filename
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-20 · updated 2026-10-23
- Weakness: CWE-79
Description
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 products
- jcrodriguez-dis moodle-mod_vpl: before 5.0.0 — fixed in 5.0.0
How to fix
Upgrade to a fixed version: jcrodriguez-dis moodle-mod_vpl 5.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/jcrodriguez-dis/moodle-mod_vpl/blob/V4.5.0/similarity/diff.class.php#L412-L419
- https://github.com/jcrodriguez-dis/moodle-mod_vpl/commit/5dd7fe00df2816b692f8ea262c6fa8cdee0b26b7
- https://github.com/jcrodriguez-dis/moodle-mod_vpl/releases/tag/V5.0.0
- https://www.vulncheck.com/advisories/vpl-for-moodle-before-5.0.0-reflected-xss-via-similarity-diff-php-filename
Get alerted when CVE-2026-113683 or the next vulnerability affects your stack