MediumGHSA-8xfq-7f6m-mpmfCVE-2025-51489

MoonShine Arbitrary File Upload Vulnerability

Published 19 Aug 2025 · Updated 10 Sept 2026

Is your project on an affected moonshine/moonshine?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<3.12.5
Fixed in
3.12.5
Update to the fixed version for your release line, for example:composer require moonshine/moonshine:^3.12.5

Details

An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.

Is GHSA-8xfq-7f6m-mpmf in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected moonshine/moonshine, and gives you the command that fixes it.

More advisories for moonshine/moonshine

  • MediumCVE-2025-51510MoonShine SQL Injection Vulnerability · 19 Aug 2025
  • MediumCVE-2025-51487moonshine Stored Cross-Site Scripting Vulnerability in Create Article · 19 Aug 2025
  • MediumCVE-2025-51488moonshine Stored Cross-Site Scripting Vulnerability in Create Admin · 19 Aug 2025
moonshine/moonshine security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.