CVE-2023-46858
CVE-2023-46858 is a medium-severity vulnerability in Moodle with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 1% (45th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Moodle
- Published:
- Last modified:
Description
Moodle 4.3 allows /grade/report/grader/index.php?searchvalue= reflected XSS when logged in as a teacher. NOTE: the Moodle Security FAQ link states "Some forms of rich content [are] used by teachers to enhance their courses ... admins and teachers can post XSS-capable content, but students can not."
Frequently asked questions
- What is CVE-2023-46858?
- Moodle 4.3 allows /grade/report/grader/index.php?searchvalue= reflected XSS when logged in as a teacher. NOTE: the Moodle Security FAQ link states "Some forms of rich content [are] used by teachers to enhance their courses ... admins and teachers can post XSS-capable content, but students can not."
- How severe is CVE-2023-46858?
- CVE-2023-46858 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2023-46858 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-46858?
- CVE-2023-46858 affects Moodle. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-46858?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-46858 published?
- CVE-2023-46858 was published on 2023-10-29 and last updated on 2026-06-17.
References
- https://docs.moodle.org/403/en/Security_FAQ#I_have_discovered_Cross_Site_Scripting_.28XSS.29_is_possible_with_Moodle
- https://gist.github.com/Abid-Ahmad/12d2b4878eb731e8871b96b7d55125cd
- https://packetstormsecurity.com/files/175277/Moodle-4.3-Cross-Site-Scripting.html
Affected products (1)
- cpe:2.3:a:moodle:moodle:4.3.0:*:*:*:*:*:*:*
More vulnerabilities in Moodle
- CVE-2006-4935 — Critical (CVSS 10.0): The Database module in Moodle before 1.6.2 does not properly handle uploaded files, which has unspecified impact and…
- CVE-2006-4936 — Critical (CVSS 10.0): Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has…
- CVE-2005-2247 — Critical (CVSS 10.0): Multiple unknown vulnerabilities in Moodle before 1.5.1 have unknown impact and attack vectors.
- CVE-2004-2233 — Critical (CVSS 10.0): Unknown "front page vulnerability with Moodle servers" for Moodle before 1.3.2 has unknown impact and attack vectors.
- CVE-2004-2236 — Critical (CVSS 10.0): Unknown vulnerability in Moodle before 1.3.3 has unknown impact and attack vectors, related to language setting.
- CVE-2004-2237 — Critical (CVSS 10.0): Unknown vulnerability in Moodle before 1.3.4 has unknown impact and attack vectors, related to "strings in Moodle…
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →