GitHub Advisory Database
GHSA-grmj-gpwm-98ww
Moodle Cross-site Scripting vulnerability
Details
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in blog search. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.0.0-beta before 4.0.6 (fixed in 4.0.6) |
| Packagist | moodle/moodle | From 4.1.0-beta before 4.1.1 (fixed in 4.1.1) |