CVE-2019-3850
MEDIUM 6.1CVSS 3.0Moodle Stored HTML in assignment submission comments allowed links to be opened directly
A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Links within assignment submission comments would open directly (in the same window). Although links themselves may be valid, opening within the same window and without the no-referrer header policy made them more susceptible to exploits.
- Published
- 26 Mar 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-3fj7-9j8m-7r8g
- Sources
- NVDJSONOSV GHSA-3fj7-9j8m-7r8gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 3.1.17 | 3.1.17 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.8 | 3.4.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.5 | 3.5.5 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.6.0, < 3.6.3 | 3.6.3 |
| OSV | Packagist | moodle/moodle | < 3.1.17 | 3.1.17 |
| OSV | Packagist | moodle/moodle | >= 3.2.0, < 3.4.8 | 3.4.8 |
| OSV | Packagist | moodle/moodle | >= 3.5.0, < 3.5.5 | 3.5.5 |
| OSV | Packagist | moodle/moodle | >= 3.6.0, < 3.6.3 | 3.6.3 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3850 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=384013#p1547745 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-3850 · ADVISORY
- https://github.com/moodle/moodle/commit/1fc481dd7b09e08e85824c1fe6733b303a36bdce · WEB
- https://github.com/moodle/moodle/commit/772c908d40a944efd91d897d524b255626d330d4 · WEB
- https://github.com/moodle/moodle/commit/907b377e51c32ea37feef53e10684b504e103273 · WEB
- https://github.com/moodle/moodle/commit/d3f2f990dd3c5d4e6073a77154c6423d1c304647 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 26 Mar 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2022)