GitHub Advisoryadvisory · Packagist

GHSA-8xfq-7f6m-mpmf MoonShine Arbitrary File Upload Vulnerability

MEDIUM Published 2025-08-19 Modified 2025-08-21 Official page ↗
Aliases
CVE-2025-51489
Ecosystem
Packagist
Packages
moonshine/moonshine
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-434, CWE-79
Reviewed
2025-08-20

Affected packages

• Packagist moonshine/moonshine: < 3.12.5 → fixed in 3.12.5

Description

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

Related

Alias · CVE (1)

  • CVE-2025-51489 A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG… vulnerability

Weakness · CWE (2)

  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References