KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
0.83%
percentile 59.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-05Published
2023-11-05Package advisory GHSA-8pp6-5qpw-85g3
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.83%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-8pp6-5qpw-85g3floriangaerber/magnesium (Packagist)0.3.1

Also known as: GHSA-8pp6-5qpw-85g3

Credited: VulDB GitHub Commit Analyzer (tool)

Related

CVEPublishedCVSSSummary
CVE-2026-1457632026-12-066.3osTicket CSV Export class.export.php escape csv injection
CVE-2026-1450982026-12-056.3itsourcecode Restaurant Management System combo_save.php sql injection
CVE-2026-1449122026-12-057.3SourceCodester Online Clothing Store check.php sql injection
CVE-2026-1448872026-12-046.3JeecgBoot Dictionary Table Query SysDictServiceImpl.java queryTableDataForLinkRecord sql injection
CVE-2026-1448862026-12-047.3Kinkando Dormitory-Management-System Registration register.php checkValid sql injection
CVE-2026-1447772026-12-046.3itsourcecode Stock Management System editPayment.php sql injection
CVE-2026-1447762026-12-047.3toss es-toolkit template.ts template code injection
CVE-2026-1447412026-12-044.7yinMrsir 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.

NVD · CVE.org