Advisory

GHSA-w2pm-fr62-jgv4

Also known as: BIT-moodle-2021-27131, CVE-2021-27131

Summary

Moodle vulnerable to stored Cross-site Scripting

Details

Moodle 3.10.1 is vulnerable to persistent/stored cross-site scripting (XSS) due to the improper input sanitization on the "Additional HTML Section" via "Header and Footer" parameter in /admin/settings.php. This vulnerability may lead an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-05-16 21:30 UTC
Modified
2024-02-16 08:26 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, last affected 3.10.1 (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