CVE-2023-23922
MEDIUM 6.1CVSS 3.1Moodle Cross-site Scripting vulnerability
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in blog search. 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-23922GHSA-grmj-gpwm-98ww
- Sources
- NVDJSONOSV GHSA-grmj-gpwm-98wwJSON
Scores
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.6 | 4.0.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:* |
= 4.1.0 | |
| 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
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861 · Patch, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2162547 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=443273#p1782022 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-23922 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
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)