Skip to content

2012-07-17 Email header injection

Low
Synchro published GHSA-398j-f7m7-795j Mar 5, 2020

Package

composer PHPMailer (Composer)

Affected versions

< 2.2.1

Patched versions

2.2.1

Description

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:

Severity

Low

CVE ID

CVE-2012-0796

Weaknesses

No CWEs