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

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

May 13, 2022 (updated January 26, 2024)

Cross-site scripting (XSS) vulnerability in the user_get_user_details function in user/lib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to inject arbitrary web script or HTML by leveraging absence of an external_format_text call in a web service.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50130
  • openwall.com/lists/oss-security/2015/07/13/2
  • github.com/advisories/GHSA-f7qm-q26p-6rr2
  • github.com/moodle/moodle/commit/7b15a363201109354bbd6d51a7c70f50dac7b9d8
  • github.com/moodle/moodle/commit/a809a8dccea222a31e0828d4f17889035e6d1a36
  • github.com/moodle/moodle/commit/e96e66aa16dca5cbcdb1aef0f9499edf86f1404b
  • github.com/moodle/moodle/commit/ffe5c784889b3f7b2ba11cf9db881d54904623b7
  • moodle.org/mod/forum/discuss.php?d=316664
  • nvd.nist.gov/vuln/detail/CVE-2015-3274
  • web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877

Code Behaviors & Features

Detect and mitigate CVE-2015-3274 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 2.7.0 before 2.7.9, all versions starting from 2.8.0 before 2.8.7, all versions starting from 2.9.0 before 2.9.1

Fixed versions

  • 2.7.9
  • 2.8.7
  • 2.9.1

Solution

Upgrade to versions 2.7.9, 2.8.7, 2.9.1 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')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moodle/moodle/CVE-2015-3274.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 14 Feb 2026 00:22:15 +0000.