CVE-2012-0796

mediumpriority · track · 17EPSS 0.017 · 77 %ileEUUS
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
1.68% (77th) EPSS
CVSS 4 · medium
Is it mine?
29 products
Check your exposure
Who says so?
3 sources
enisa_euvd · nvd · osv

EPSS · scored 2026-10-27

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.

01

cvss

Technical severity, 0–10. One row per scoring source.

4.0
010

base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.4–4

v2.04mediumAV:N/AC:L/Au:S/C:N/I:P/A:Nprimary · NVD / NIST USexploitability 8 · impact 2.9
v2.03.4lowAV:N/AC:L/Au:S/C:N/I:P/A:N/E:Usecondary · CVSS-BT (t0sche)
02

weaknesses

The CWE weakness classes this flaw belongs to.

03

affected products (29)

Products and version ranges known to be affected.

showing 20 of 29
04

advisories (1)

Vendor and ecosystem advisories describing this.

  • GHSA-398j-f7m7-795jPHPMailer vulnerable to email header injection2022-10-06ghsa · osvUS

    ### Impact Arbitrary additional email headers can be injected via crafted From or Sender headers. ### Patches Fixed in 2.2.1 ### Workarounds Filter user-supplied values prior to using them in From or Sender properties. ### References https://nvd.nist.gov/vuln/detail/CVE-2012-0796 ### For more information If you have any questions or comments about this advisory: * Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)

05

also known as (2)

Other names and identifiers for this entity.

06

sources

Which sources assert this record, and when.

published 2012-07-17modified 2026-06-16
08

references (8)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan