Magnesium-PHP Injection vulnerability
** UNSUPPORTED WHEN ASSIGNED ** ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in Magnesium-PHP up to 0.3.0. It has been classified as problematic. Affected is the function formatEmailString of the file src/Magnesium/Message/Base.php. The manipulation of the argument email/name leads to injection. Upgrading to version 0.3.1 is able to address this issue. The patch is identified as 500d340e1f6421007413cc08a8383475221c2604. It is recommended to upgrade the affected component. VDB-244482 is the identifier assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | floriangaerber/magnesium | < 0.3.1 | 0.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-20187
- https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604
- https://github.com/floriangaerber/Magnesium-PHP
- https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1
- https://vuldb.com/?ctiid.244482
- https://vuldb.com/?id.244482
- CVSS vector
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-74- Platform
- Composer
- Package
floriangaerber/magnesium- Disclosed
- 05.11.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8pp6-5qpw-85g3 - CC BY 4.0
Vulnerability history: floriangaerber/magnesium
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.