CVE-2023-23922: Moodle Cross-site Scripting vulnerability
Blog search required additional sanitizing to prevent a reflected XSS risk.
Versions affected: 4.1 and 4.0 to 4.0.5 Versions fixed: 4.1.1, 4.0.6
Other sources
Moodle Cross-site Scripting vulnerability
— Packagist
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/moodleto a version that resolves this vulnerability.Fixed in 4.1.1 - Upgrade
Upgrade
redhat/moodleto a version that resolves this vulnerability.Fixed in 4.0.6 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 4.1.1 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 4.0.6 - Upgrade
Upgrade
Moodle 4.1to a version that resolves this vulnerability.Fixed in 4.1.1 - Upgrade
Upgrade
Moodle 4.0to a version that resolves this vulnerability.Fixed in 4.0.6
Event History
Frequently Asked Questions
What is the vulnerability ID for this Moodle vulnerability?
The vulnerability ID for this Moodle vulnerability is CVE-2023-23922.
What is the severity of CVE-2023-23922?
The severity of CVE-2023-23922 is high with a CVSS score of 6.1.
How does the vulnerability CVE-2023-23922 occur in Moodle?
The vulnerability CVE-2023-23922 occurs in Moodle due to insufficient sanitization of user-supplied data in blog search.
How can a remote attacker exploit CVE-2023-23922?
A remote attacker can exploit CVE-2023-23922 by tricking the victim to follow a specially crafted link and execute arbitrary HTML and script code in the user's browser in the context of the vulnerable website.
Are there any patches or updates available for CVE-2023-23922?
Yes, there are patches available for CVE-2023-23922. The recommended version to fix this vulnerability is Moodle 4.1.1.