Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2023-5546

CVE-2023-5546: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 9, 2023 (updated November 15, 2023)

ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-78971
  • bugzilla.redhat.com/show_bug.cgi?id=2243445
  • github.com/advisories/GHSA-9724-h8p7-r3jv
  • github.com/moodle/moodle/commit/aa8ab48521fe4a57c3ec923e6e82a5ac1202e9de
  • moodle.org/mod/forum/discuss.php?d=451587
  • nvd.nist.gov/vuln/detail/CVE-2023-5546

Code Behaviors & Features

Detect and mitigate CVE-2023-5546 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0 before 4.0.11, all versions starting from 4.1.0 before 4.1.6, all versions starting from 4.2.0 before 4.2.3

Fixed versions

  • 4.0.11
  • 4.1.6
  • 4.2.3

Solution

Upgrade to versions 4.0.11, 4.1.6, 4.2.3 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moodle/moodle/CVE-2023-5546.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 15 Nov 2026 12:15:36 +0000.