Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mobile-icon-resizer
  4. ›
  5. GMS-2018-4

GMS-2018-4: Arbitrary Code Injection

January 15, 2018

mobile-icon-resizer has a code execution vulnerability via the image resizing configuration: the parameters ratio and baseRatio are passed directly to eval(), thus allowing dynamic javascript payloads to be executed.

References

  • github.com/muzzley/mobile-icon-resizer/issues/8

Code Behaviors & Features

Detect and mitigate GMS-2018-4 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 starting from 0.2.0 up to 0.4.2

Fixed versions

  • 0.4.3

Solution

Upgrade to version 0.4.3 or above.

Source file

npm/mobile-icon-resizer/GMS-2018-4.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:35 +0000.