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

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

November 9, 2023 (updated November 15, 2023)

The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79426
  • bugzilla.redhat.com/show_bug.cgi?id=2243437
  • github.com/advisories/GHSA-28gc-4qq5-8q26
  • github.com/moodle/moodle/commit/f5f6ce375e37da902afb043c6b506129fc433233
  • moodle.org/mod/forum/discuss.php?d=451582
  • nvd.nist.gov/vuln/detail/CVE-2023-5541

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.9.0 before 3.9.24, all versions starting from 3.11.0 before 3.11.17, 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

  • 3.9.24
  • 3.11.17
  • 4.0.11
  • 4.1.6
  • 4.2.3

Solution

Upgrade to versions 3.9.24, 3.11.17, 4.0.11, 4.1.6, 4.2.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/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-5541.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:55 +0000.