Skip to content

Moodle Vulnerable to Reflected Cross-site Scripting

Moderate severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Sep 12, 2023

Package

composer moodle/moodle (Composer)

Affected versions

>= 3.10, < 4.0.0-beta

Patched versions

4.0.0-beta

Description

It was found in Moodle before version 4.0.0-beta that some search inputs were vulnerable to reflected Cross-site Scripting (XSS) due to insufficient escaping of search queries.

References

Published by the National Vulnerability Database Jan 28, 2021
Published to the GitHub Advisory Database May 24, 2022
Reviewed Jul 10, 2023
Last updated Sep 12, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2021-20183

GHSA ID

GHSA-xhfx-rm8q-c3xv

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.