CVE-2016-5013 json
Moodle Does Not Escape Characters In Email Headers
published 2017-01-20 9 y ago modified 2026-06-17 4 mo ago also GHSA-2hh3-jmv8-5fmx , EUVD-2022-1991
- cvss
- 5.4
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
In Moodle 2.x and 3.x, text injection can occur in email headers, potentially leading to outbound spam.
Patch / fix
- packagist moodle/moodle 2.7.15, 2.9.7, 3.0.5, 3.1.1
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.1, <3.1.1 >=3.0, <3.0.5 >=2.9, <2.9.7 >=2.8, <=2.8.12 >=2.7, <2.7.15 |
3.1.1 3.0.5 2.9.7 2.7.15 |
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
moodle.org
/mod/forum/discuss.php?d=336698
web, mitigation, patch, vendor-advisory
-
github.com
/moodle/moodle/commit/ed63718caa48803843a14140d8a27f04aba9c8c4
web
-
securityfocus.com
/bid/92040
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-5013
advisory
-
web.archive.org
/web/20210123154543/http://www.securityfocus.com/bid/92040
web
Sources
- CVE List CVE-2016-5013
- GitHub Advisory GHSA-2hh3-jmv8-5fmx
- NVD CVE-2016-5013
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.