CVE-2017-20187 json
Magnesium-PHP Base.php formatEmailString injection
published 2023-11-05 3 y ago modified 2026-06-17 4 mo ago also GHSA-8pp6-5qpw-85g3 , EUVD-2023-2929
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist floriangaerber/magnesium 0.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:P/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | floriangaerber/magnesium | <0.3.1 |
0.3.1 |
Affected products
- n/a Magnesium-PHP
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604
patch, web
-
github.com
/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1
patch, web, release-notes
-
vuldb.com
/?id.244482
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/?ctiid.244482
signature, permissions-required, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-20187
advisory
-
github.com
/floriangaerber/Magnesium-PHP
package
Sources
- CVE List CVE-2017-20187
- GitHub Advisory GHSA-8pp6-5qpw-85g3
- NVD CVE-2017-20187
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.