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

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

March 23, 2023 (updated November 9, 2023)

Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.

References

  • git.moodle.org/gw?p=moodle.git;a=commitdiff;h=1899e0397350c4c2bb3e73773981f66f16f8f2fc
  • github.com/advisories/GHSA-77jm-f3vj-xvx2
  • github.com/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fc
  • moodle.org/mod/forum/discuss.php?d=445063
  • nvd.nist.gov/vuln/detail/CVE-2023-28331

Code Behaviors & Features

Detect and mitigate CVE-2023-28331 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 before 3.9.20, all versions starting from 3.11.0 before 3.11.13, all versions starting from 4.0.0 before 4.0.7, all versions starting from 4.1.0 before 4.1.2

Fixed versions

  • 4.0.7
  • 4.1.2
  • 3.9.20
  • 3.11.13

Solution

Upgrade to versions 4.0.7, 4.1.2, 3.9.20, 3.11.13 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-28331.yml

Spotted a mistake? Edit the file on GitLab.

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

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