Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moonshine/moonshine
  4. ›
  5. CVE-2025-51489

CVE-2025-51489: MoonShine Arbitrary File Upload Vulnerability

August 19, 2025 (updated August 21, 2025)

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

References

  • github.com/GiacoLenzo2109/MoonShine_Software_PoCs
  • github.com/advisories/GHSA-8xfq-7f6m-mpmf
  • github.com/moonshine-software/moonshine
  • github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4
  • nvd.nist.gov/vuln/detail/CVE-2025-51489

Code Behaviors & Features

Detect and mitigate CVE-2025-51489 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.12.5

Fixed versions

  • 3.12.5

Solution

Upgrade to version 3.12.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moonshine/moonshine/CVE-2025-51489.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 24 Jan 2026 12:18:23 +0000.