CVE-2019-14884: Moodle reflected Cross-site Scripting (XSS)

moodle/moodle Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2019-14884: Moodle reflected Cross-site Scripting (XSS). Affects moodle/moodle across 3 version ranges.

>= 3.5.0, < 3.5.9 >= 3.6.0, < 3.6.7 >= 3.7.0, < 3.7.3

Fixed in 3.5.9, 3.6.7 or 3.7.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Moodle is an open-source learning management system (LMS) used by educational institutions to create and deliver online courses. It provides a platform for educators to manage and organize course materials, assessments, and communication with students. Moodle is written in PHP and utilizes a database backend. This vulnerability affects Moodle versions 3.7 before 3.7.3, 3.6 before 3.6.7, and 3.5 before 3.5.9.

Vulnerability Detail

The vulnerability identified as CVE-2019-14884 is a reflected Cross-site Scripting (XSS) issue. It is possible to exploit this vulnerability by injecting malicious code into certain fatal error messages. When these error messages are displayed to users, the injected code is executed in their browsers, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.5.0, < 3.5.9 3.5.9
    composer require moodle/moodle:3.5.9
  • >= 3.6.0, < 3.6.7 3.6.7
    composer require moodle/moodle:3.6.7
  • >= 3.7.0, < 3.7.3 3.7.3
    composer require moodle/moodle:3.7.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fixes by upgrading to the patched versions of Moodle.

Conclusion

The Moodle reflected Cross-site Scripting (XSS) vulnerability (CVE-2019-14884) poses a moderate risk to Moodle installations. It is crucial to upgrade to the latest patched versions to mitigate the risk of unauthorized access and potential data theft. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

Moodle is an open-source learning management system used by educational institutions for online course management.

Reflected XSS is a type of security vulnerability where an attacker can inject malicious code into a website, which is then reflected back to the user's browser and executed.

Exploiting this vulnerability can lead to unauthorized access, data theft, or other malicious activities.

Upgrade your Moodle installation to the latest patched version: 3.7.3 for Moodle 3.7, 3.6.7 for Moodle 3.6, and 3.5.9 for Moodle 3.5.

No, there is no known workaround for this vulnerability. Upgrading to the patched versions is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.5.0, < 3.5.9 3.5.9
    composer require moodle/moodle:3.5.9
  • >= 3.6.0, < 3.6.7 3.6.7
    composer require moodle/moodle:3.6.7
  • >= 3.7.0, < 3.7.3 3.7.3
    composer require moodle/moodle:3.7.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback