CVE-2017-20187 · VulDB
Magnesium-PHP Base.php formatEmailString injection
** 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 2023-11-05, last changed 2026-06-17. Weakness: CWE-74.
How to fix
Upgrade to a fixed version: floriangaerber/magnesium 0.3.1 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in floriangaerber/Magnesium-PHP by 500d340e1f, e588737132. Functions changed by the fix: formatEmailString, removeToStringBreakingSymbols. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2023-11-05 | Published |
| 2023-11-05 | Package advisory GHSA-8pp6-5qpw-85g3 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.83% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8pp6-5qpw-85g3 | floriangaerber/magnesium (Packagist) | 0.3.1 |
Also known as: GHSA-8pp6-5qpw-85g3
Credited: VulDB GitHub Commit Analyzer (tool)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-145763 | 2026-12-06 | 6.3 | osTicket CSV Export class.export.php escape csv injection |
| CVE-2026-145098 | 2026-12-05 | 6.3 | itsourcecode Restaurant Management System combo_save.php sql injection |
| CVE-2026-144912 | 2026-12-05 | 7.3 | SourceCodester Online Clothing Store check.php sql injection |
| CVE-2026-144887 | 2026-12-04 | 6.3 | JeecgBoot Dictionary Table Query SysDictServiceImpl.java queryTableDataForLinkRecord sql injection |
| CVE-2026-144886 | 2026-12-04 | 7.3 | Kinkando Dormitory-Management-System Registration register.php checkValid sql injection |
| CVE-2026-144777 | 2026-12-04 | 6.3 | itsourcecode Stock Management System editPayment.php sql injection |
| CVE-2026-144776 | 2026-12-04 | 7.3 | toss es-toolkit template.ts template code injection |
| CVE-2026-144741 | 2026-12-04 | 4.7 | yinMrsir chunyu-cms Monitor Job job.service.ts JobService.analysisinvokeTarget code injection |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-20187, or call /api/v1/vulnerabilities/CVE-2017-20187. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.