# CVE-2025-51489: MoonShine Arbitrary File Upload Vulnerability

Source: https://junglewise.ai/threats/cve-2025-51489-moonshine-arbitrary-file-upload-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-08-19  
License: CC BY 4.0 with a link back

CVE-2025-51489 · Severity: low · CVSS 3.1 · Published 2025-08-19

MoonShine Arbitrary File Upload Vulnerability

Technologies: [moonshine/moonshine (Packagist)](https://junglewise.ai/threats/technologies/moonshine-moonshine). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-51489 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-51489 being exploited in the wild.

**How severe is CVE-2025-51489?** Low severity, with a CVSS score of 3.1, published 19 August 2025.

**Which products and versions are affected?** moonshine/moonshine (Packagist) ECOSYSTEM:introduced=0,fixed=3.12.5.

**Is there a fix for CVE-2025-51489?** Yes. moonshine/moonshine (Packagist): upgrade to 3.12.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-51489?** Check whether you run moonshine/moonshine (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- moonshine/moonshine (Packagist): upgrade to 3.12.5 or later

  ```sh
  composer require moonshine/moonshine:^3.12.5
  ```


## Affected products

- moonshine/moonshine (Packagist) ECOSYSTEM:introduced=0,fixed=3.12.5

## Identifiers

- CVE-2025-51489
- GHSA-8xfq-7f6m-mpmf

## Related threats

- [MoonShine SQL Injection Vulnerability](https://junglewise.ai/threats/cve-2025-51510-moonshine-sql-injection-vulnerability)
- [moonshine Stored Cross-Site Scripting Vulnerability in Create Article](https://junglewise.ai/threats/cve-2025-51487-moonshine-stored-cross-site-scripting-vulnerability-in-create)
- [moonshine Stored Cross-Site Scripting Vulnerability in Create Admin](https://junglewise.ai/threats/cve-2025-51488-moonshine-stored-cross-site-scripting-vulnerability-in-create)
