Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. floriangaerber/magnesium
  4. ›
  5. CVE-2017-20187

CVE-2017-20187: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

November 5, 2023 (updated November 8, 2023)

** 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.

References

  • github.com/advisories/GHSA-8pp6-5qpw-85g3
  • github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604
  • github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1
  • nvd.nist.gov/vuln/detail/CVE-2017-20187
  • vuldb.com/?ctiid.244482
  • vuldb.com/?id.244482

Code Behaviors & Features

Detect and mitigate CVE-2017-20187 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.3.1

Fixed versions

  • 0.3.1

Solution

Upgrade to version 0.3.1 or above.

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/floriangaerber/magnesium/CVE-2017-20187.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.