Advisory

GHSA-q6vw-27c6-jv9c

Also known as: CVE-2019-18210

Summary

Moodle Persistent Cross-site Scripting (XSS)

Details

Persistent XSS in /course/modedit.php of Moodle through 3.7.2 allows authenticated users (Teacher and above) to inject JavaScript into the session of another user (e.g., enrolled student or site administrator) via the introeditor[text] parameter. NOTE: the discoverer and vendor disagree on whether Moodle customers have a reasonable expectation that anyone authenticated as a Teacher can be trusted with the ability to add arbitrary JavaScript (this ability is not documented on Moodle's Teacher_role page). Because the vendor has this expectation, they have stated "this report has been closed as a false positive, and not a bug."

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 22:28 UTC
Modified
2024-04-24 00:11 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.7, last affected 3.7.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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