CVE-2017-20187
CRITICAL 9.8CVSS 3.1Magnesium-PHP Injection vulnerability
** 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.
- Published
- 5 Nov 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-8pp6-5qpw-85g3
- Sources
- NVDJSONOSV GHSA-8pp6-5qpw-85g3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | LOW 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.7 | AV:A/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | floriangaerber | magnesium-phpcpe:2.3:a:floriangaerber:magnesium-php:*:*:*:*:*:*:*:* |
<= 0.3.0 | |
| OSV | Packagist | floriangaerber/magnesium | < 0.3.1 | 0.3.1 |
References
- https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604 · Patch, WEB
- https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1 · Release Notes, WEB
- https://vuldb.com/?ctiid.244482 · Third Party Advisory, WEB
- https://vuldb.com/?id.244482 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-20187 · ADVISORY
- https://github.com/floriangaerber/Magnesium-PHP · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 5 Nov 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Nov 2023)