Loading HuntDB...

GHSA-6gx2-g773-hv9h

GitHub Security Advisory

Moodle reflected cross-site scripting vulnerability in policy tool

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages.

Affected Packages

Packagist moodle/moodle
Affected versions: 3.9 (fixed in 3.9.18)
Packagist moodle/moodle
Affected versions: 3.11 (fixed in 3.11.11)
Packagist moodle/moodle
Affected versions: 4.0 (fixed in 4.0.5)

Related CVEs

Key Information

GHSA ID
GHSA-6gx2-g773-hv9h
Published
November 23, 2022 3:30 PM
Last Modified
April 23, 2024 11:43 PM
CVSS Score
5.0 /10
Primary Ecosystem
Packagist
Primary Package
moodle/moodle
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 15, 2025 6:24 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.