Security mailing lists by PureSourceCode

CVE-2023-23921

MEDIUM 6.1CVSS 3.1

Moodle Cross-site Scripting vulnerability

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.

Published
17 Feb 2023
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-moodle-2023-23921GHSA-97qf-pq7x-964m
Sources
NVDJSONOSV GHSA-97qf-pq7x-964mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.19 3.9.19
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.12 3.11.12
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.6 4.0.6
NVD moodle moodle
cpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:*
= 4.1.0
OSV Packagist moodle/moodle < 3.9.19 3.9.19
OSV Packagist moodle/moodle >= 3.10.0, < 3.11.12 3.11.12
OSV Packagist moodle/moodle >= 4.0.0-beta, < 4.0.6 4.0.6
OSV Packagist moodle/moodle >= 4.1.0-beta, < 4.1.1 4.1.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Feb 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.