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.
{
"cna_assigner": "fedora",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67847.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.1"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.4"
},
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.8"
},
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.12"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.22"
},
{
"fixed": "4.1.0"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-94"
]
}{
"cpe": [
"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"cpe:2.3:a:moodle:moodle:5.1.0:-:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.1.22"
},
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.12"
},
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.8"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.4"
},
{
"introduced": "5.1.0-NA"
},
{
"last_affected": "5.1.0-NA"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}