Moodle 4.2.x < 4.2.4 Multiple Cross-Site Scripting

medium Web App Scanning Plugin ID 114734

Synopsis

Moodle 4.2.x < 4.2.4 Multiple Cross-Site Scripting

Description

According to its self-reported version, the Moodle install hosted on the remote host is 4.2.x prior to 4.2.4 or 4.3.x prior to 4.3.1. It is, therefore, affected by multiple cross-site scripting:

- Reflected XSS risk on ad-hoc tasks page

- Reflected XSS risk in grader report search

- Stored XSS in grader report via user ID number

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Moodle version 4.2.4 or later.

See Also

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79839

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80239

http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80287

https://moodle.org/mod/forum/discuss.php?d=453762#p1823289

https://moodle.org/mod/forum/discuss.php?d=453763#p1823290

https://moodle.org/mod/forum/discuss.php?d=453767#p1823295

Plugin Details

Severity: Medium

ID: 114734

Type: remote

Published: 4/10/2025

Updated: 4/10/2025

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2023-6670

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

CVSS Score Source: CVE-2023-6670

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/29/2023

Reference Information

CVE: CVE-2023-6665, CVE-2023-6666, CVE-2023-6670