Servers and applications
CVE-2012-0796
class.phpmailer.php in the PHPMailer library, as used in Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 and other products, allows remote authenticated users to inject arbitrary e-mail headers via vectors involving a crafted (1) From: or (2) Sender: header.
- Severity
- Medium 4.0
- Published
- 17 Jul 2012
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Exploit chance
- 1.7% in the next 30 daysHigher than 77% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Over the network · Needs a login
- Attacker can
- Change some data
- CVSS vector
AV:N/AC:L/Au:S/C:N/I:P/A:N- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
MoodleServers and applications · cpe:a:moodle:moodle |
All 27 release lines
|