Advisory

GHSA-xvmh-25jw-gmmm

Also known as: BIT-moodle-2025-67847, CVE-2025-67847

Summary

Moodle affected by a code injection vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-23 06:31 UTC
Modified
2026-03-06 09:26 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.1.0-beta, fixed 5.1.1 (ecosystem)

Fixed versions

5.1.1

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.0.0-beta, fixed 5.0.4 (ecosystem)

Fixed versions

5.0.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.5.0-beta, fixed 4.5.8 (ecosystem)

Fixed versions

4.5.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.2.0-beta, fixed 4.4.12 (ecosystem)

Fixed versions

4.4.12

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 4.1.22 (ecosystem)

Fixed versions

4.1.22

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences