Magnesium-PHP Base.php formatEmailString injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
** 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Magnesium-PHP | 0.1; 0.2; 0.3 | — | No fix listed | CNA |
| — | floriangaerber/magnesium (Packagist) | before 0.3.1 | 0.3.1 | Patch available | GHSA-8pp6-5qpw-85g3 |
- Magnesium-PHP Vendor— Affected 0.1; 0.2; 0.3 Fixed in — No fix listed CNA
- floriangaerber/magnesium (Packagist) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-8pp6-5qpw-85g3
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:floriangaerber:magnesium-php:*:*:*:*:*:*:*:* | up to 0.3.0 | Vulnerable | Floriangaerber |
- cpe:2.3:a:floriangaerber:magnesium-php:*:*:*:*:*:*:*:* Versions up to 0.3.0 Vulnerable ·Floriangaerber
Remediation
- Fix · GHSA-8pp6-5qpw-85g3 floriangaerber/magnesium (Packagist) Fixed in 0.3.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-20187
- 2026-10-03 Alias added: GHSA-8pp6-5qpw-85g3
References
Sources
- CVE-2017-20187 · CVE Program
- CVE-2017-20187 · NVD
- FIRST EPSS
- GHSA-8pp6-5qpw-85g3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences