GHSA-xvmh-25jw-gmmm

Moodle affected by a code injection vulnerability

At a glance

Published
Updated
CVE
CVE-2025-67847
Aliases
BIT-moodle-2025-67847
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.

Affected packages

PackageVersions
Packagist · moodle/moodleintroduced 5.1.0-beta, fixed 5.1.1
Packagist · moodle/moodleintroduced 5.0.0-beta, fixed 5.0.4
Packagist · moodle/moodleintroduced 4.5.0-beta, fixed 4.5.8
Packagist · moodle/moodleintroduced 4.2.0-beta, fixed 4.4.12
Packagist · moodle/moodleintroduced 0, fixed 4.1.22

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database