{"id":"CVE-2012-0796","published":"2012-07-17T10:00:00Z","modified":"2024-08-06T18:38:14Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01658,"percentile":0.77213,"provenance":"source"},"cwes":[],"references":[{"url":"http://moodle.org/mod/forum/discuss.php?d=194015","tags":["x_refsource_CONFIRM"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=62988bf0bbc73df655f51884aaf1f523928abff9","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2012/dsa-2421","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=783532","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":15.44}]},"affected":[{"ecosystem":"Packagist","package":"phpmailer/phpmailer","vulnerableRanges":["<2.2.1"],"patched":["2.2.1"],"from":["GHSA-398j-f7m7-795j"],"provenance":"source"}],"summary":{"text":"The flaw is in class.phpmailer.php of the PHPMailer library, as bundled in Moodle 1.9.x, 2.0.x, 2.1.x and 2.2.x (before the fixed releases) and in other products that use it. An attacker with authenticated access to the affected application can exploit it by supplying a crafted From: or Sender: header, which allows arbitrary e-mail headers to be injected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:54Z"},"euvd":{"id":"EUVD-2022-7002","exploited":false,"provenance":"source"}}