Description
The error-message functionality in Moodle 1.9.x before 1.9.13, 2.0.x before 2.0.4, and 2.1.x before 2.1.1 does not ensure that a continuation link refers to an http or https URL for the local Moodle instance, which might allow attackers to trick users into visiting arbitrary web sites via unspecified vectors.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | moodle | 1.9.9.dfsg2-2.1+squeeze2 | DSA-2338-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | < 1.9.13 | 1.9.13 | GHSA-hxmp-8f47-x9fc |
| Packagist | moodle/moodle | >= 2.0, < 2.0.4 | 2.0.4 | GHSA-hxmp-8f47-x9fc |
| Packagist | moodle/moodle | >= 2.1, < 2.1.1 | 2.1.1 | GHSA-hxmp-8f47-x9fc |
Advisories 1
- DSA-2338-1 moodle - several Debian Security (DSA / DLA) · Mar 9, 2026