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

CVE-2016-2152: Cross-site Scripting

May 22, 2016 (updated September 7, 2017)

Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle allow remote attackers to inject arbitrary web script or HTML via an external DB profile field.

References

  • moodle.org/mod/forum/discuss.php?d=330174
  • nvd.nist.gov/vuln/detail/CVE-2016-2152

Code Behaviors & Features

Detect and mitigate CVE-2016-2152 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 up to 2.6.11, all versions starting from 2.7 up to 2.7.12, all versions starting from 2.8 up to 2.8.10, all versions starting from 2.9 up to 2.9.4, all versions starting from 3.0 up to 3.0.2

Fixed versions

  • 2.7.13
  • 2.8.11
  • 2.9.5
  • 3.0.3

Solution

Upgrade to versions 2.7.13, 2.8.11, 2.9.5, 3.0.3 or above.

Impact 6.1 MEDIUM

CVSS:3.0/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-2016-2152.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:31 +0000.