Live threats

All CVEs / Moodle

CVE-2019-3847Moodle

Medium 4.8

Priority
29
CVSS 3.1
4.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Mar 27, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

What happens

A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Users with the "login as other users" capability (such as administrators/managers) can access other users' Dashboards, but the JavaScript those other users may have added to their Dashboard was not being escaped when being viewed by the user logging in on their behalf.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 3.6.0 < 3.6.3 3.6.3 composer require "moodle/moodle:^3.6.3"
Packagist moodle/moodle ≥ 3.5.0 < 3.5.5 3.5.5 composer require "moodle/moodle:^3.5.5"
Packagist moodle/moodle ≥ 3.2.0 < 3.4.8 3.4.8 composer require "moodle/moodle:^3.4.8"
Packagist moodle/moodle < 3.1.17 3.1.17 composer require "moodle/moodle:^3.1.17"

Per OSV / GitHub Advisories (GHSA-qrcj-6fjw-3h9h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 3.1.17
moodlemoodle≥ 3.4.0 < 3.4.8
moodlemoodle≥ 3.5.0 < 3.5.5
moodlemoodle≥ 3.6.0 < 3.6.3

Official sources

References

Links published by the sources. Open them with care.