# CVE-2023-23922: Moodle: reflected xss risk in blog search

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2023-02-17T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.883Z
- Also known as: GHSA-grmj-gpwm-98ww, BIT-MOODLE-2023-23922
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

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.

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.1; from 4.0.0 before 4.0.6
- moodle/moodle (Packagist): from 4.0.0-beta before 4.0.6; from 4.1.0-beta before 4.1.1
- moodle moodle: from 4.0.0 before 4.0.6; 4.1.0
- moodle (Bitnami): from 4.0.0 before 4.0.6; from 4.1.0 before 4.1.1

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861> (fix, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2162547> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=443273#p1782022> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23922> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2023-23922](https://www.cve.org/CVERecord?id=CVE-2023-23922), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-grmj-gpwm-98ww](https://github.com/advisories/GHSA-grmj-gpwm-98ww), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2023-23922](https://nvd.nist.gov/vuln/detail/CVE-2023-23922), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-23922](https://osv.dev/vulnerability/BIT-MOODLE-2023-23922), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-23922 · Whole record: https://cve.day/CVE-2023-23922.json · Rebuilt by cve.day 2026-11-25T22:58:22.064Z
