Cross-site scripting in [UNKNOWN] Moodle
Priority LOW 26CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.02224 82nd percentileScored 2026-11-08
Fix Fixed moodle/moodle (Packagist): 3.6.3, 3.5.5, 3.4.8 +1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | Moodle | 3.6 to 3.6.2; 3.5 to 3.5.4; 3.4 to 3.4.7; 3.1 to 3.1.16 and earlier unsupported versions | — | No fix listed | CNA |
| — | moodle/moodle (Packagist) | 3.6.0 to before 3.6.3 | 3.6.3 | Patch available | GHSA-qrcj-6fjw-3h9h |
| — | moodle/moodle (Packagist) | 3.5.0 to before 3.5.5 | 3.5.5 | Patch available | GHSA-qrcj-6fjw-3h9h |
| — | moodle/moodle (Packagist) | 3.2.0 to before 3.4.8 | 3.4.8 | Patch available | GHSA-qrcj-6fjw-3h9h |
| — | moodle/moodle (Packagist) | before 3.1.17 | 3.1.17 | Patch available | GHSA-qrcj-6fjw-3h9h |
- Moodle Vendor[UNKNOWN] Affected 3.6 to 3.6.2; 3.5 to 3.5.4; 3.4 to 3.4.7; 3.1 to 3.1.16 and earlier unsupported versions Fixed in — No fix listed CNA
- moodle/moodle (Packagist) Vendor— Affected 3.6.0 to before 3.6.3 Fixed in 3.6.3 Patch available GHSA-qrcj-6fjw-3h9h
- moodle/moodle (Packagist) Vendor— Affected 3.5.0 to before 3.5.5 Fixed in 3.5.5 Patch available GHSA-qrcj-6fjw-3h9h
- moodle/moodle (Packagist) Vendor— Affected 3.2.0 to before 3.4.8 Fixed in 3.4.8 Patch available GHSA-qrcj-6fjw-3h9h
- moodle/moodle (Packagist) Vendor— Affected before 3.1.17 Fixed in 3.1.17 Patch available GHSA-qrcj-6fjw-3h9h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* | before 3.1.17; 3.4.0 to before 3.4.8; 3.5.0 to before 3.5.5; 3.6.0 to before 3.6.3 | Vulnerable | Moodle |
- cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* Versions before 3.1.17; 3.4.0 to before 3.4.8; 3.5.0 to before 3.5.5; 3.6.0 to before 3.6.3 Vulnerable ·Moodle
Remediation
- Fix · GHSA-qrcj-6fjw-3h9h moodle/moodle (Packagist) Fixed in 3.6.3 Advisory →
- Fix · GHSA-qrcj-6fjw-3h9h moodle/moodle (Packagist) Fixed in 3.5.5 Advisory →
- Fix · GHSA-qrcj-6fjw-3h9h moodle/moodle (Packagist) Fixed in 3.4.8 Advisory →
- Fix · GHSA-qrcj-6fjw-3h9h moodle/moodle (Packagist) Fixed in 3.1.17 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2019-3847
- 2026-10-03 Alias added: GHSA-qrcj-6fjw-3h9h
References
Patch 2
Other 7
- https://github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed
- https://github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d
- https://github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674
- https://github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a
- https://github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac
- https://github.com/moodle/moodle
- https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489
More Moodle vulnerabilities
- TI-2024-22468 moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php CVSS 3.1CRITICAL 9.8
- TI-2021-14741 In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses. CVSS 3.1CRITICAL 9.8
- TI-2024-29071 Moodle: remote code execution via calculated question types CVSS 3.1HIGH 8.1
- TI-2016-06653 Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified… CVSS 3.1HIGH 7.5
- TI-2022-00259 SQL injection in moodle CVSS 3.1CRITICAL 9.8
- TI-2022-16116 Path traversal in Moodle CVSS 3.1HIGH 7.5
Sources
- CVE-2019-3847 · CVE Program
- CVE-2019-3847 · NVD
- FIRST EPSS
- GHSA-qrcj-6fjw-3h9h · GitHub Advisory Database · CC BY 4.0
- CVE-2019-3847 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences