cve.bz

CVE-2016-5013 moodle moodle: Injection

5.4 mediumEPSS 1.1%Fix available

Medium (5.4) in moodle moodle. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in moodle/moodle 2.7.15, 2.9.7, 3.0.5.

On this page
In Moodle 2.x and 3.x, text injection can occur in email headers, potentially leading to outbound spam.

Severity

CVSS 3.0

5.4 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-5013 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-5013?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-5013?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-5013 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
moodle:moodlethrough 2.7.14
moodle:moodle2.8.0
moodle:moodle2.8.1
moodle:moodle2.8.2
moodle:moodle2.8.3
moodle:moodle2.8.4
moodle:moodle2.8.5
moodle:moodle2.8.6
moodle:moodle2.8.7
moodle:moodle2.8.8
moodle:moodle2.8.9
moodle:moodle2.8.10
moodle:moodle2.8.11
moodle:moodle2.8.12
moodle:moodle2.9.0
moodle:moodle2.9.1
moodle:moodle2.9.2
moodle:moodle2.9.3
moodle:moodle2.9.4
moodle:moodle2.9.5
moodle:moodle2.9.6
moodle:moodle3.0.0
moodle:moodle3.0.1
moodle:moodle3.0.2
moodle:moodle3.0.3
moodle:moodle3.0.4
moodle:moodle3.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2hh3-jmv8-5fmxPackagistmoodle/moodle>=3.1 <3.1.13.1.1
GHSA-2hh3-jmv8-5fmxPackagistmoodle/moodle>=3.0 <3.0.53.0.5
GHSA-2hh3-jmv8-5fmxPackagistmoodle/moodle>=2.9 <2.9.72.9.7
GHSA-2hh3-jmv8-5fmxPackagistmoodle/moodle>=2.8 <=2.8.12no fix published
GHSA-2hh3-jmv8-5fmxPackagistmoodle/moodle>=2.7 <2.7.152.7.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
UbuntuPro:16.04:LTS, Pro:18.04:LTSmoodleno fix listedUBUNTU-CVE-2016-5013

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON