CVE-2026-113683
VPL (Virtual Programming Lab) for Moodle before 5.0.0 contains a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jcrodriguez-dis/moodle-mod_vpl/blob/V4.5.0/similarity/diff.class.php#L412-L419
- github.com/jcrodriguez-dis/moodle-mod_vpl/commit/5dd7fe00df2816b692f8ea262c6fa8cdee0b26b7
- github.com/jcrodriguez-dis/moodle-mod_vpl/releases/tag/V5.0.0
- www.vulncheck.com/advisories/vpl-for-moodle-before-5.0.0-reflected-xss-via-similarity-diff
- nvd.nist.gov/vuln/detail/CVE-2026-113683
- cve.org/CVERecord?id=CVE-2026-113683
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.