NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-67847: Moodle affected by a code injection vulnerability

highCVSS 3.1 8.8GHSA-xvmh-25jw-gmmm

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.

Published Jan 23, 2026 · Updated Jan 26, 2026

Affected packages

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 5.1.0-beta, < 5.1.1
Fixed in
5.1.1
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 5.0.0-beta, < 5.0.4
Fixed in
5.0.4
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.5.0-beta, < 4.5.8
Fixed in
4.5.8
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.2.0-beta, < 4.4.12
Fixed in
4.4.12
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
< 4.1.22
Fixed in
4.1.22
Check
composer show moodle/moodle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to asrar-mared, Seldaek.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries