Vulnerability · Published Aug 19, 2025 · Assigned by mitre

CVE-2025-51489

Medium 4.5

In plain English

A medium-severity unrestricted file upload in the moonshine/moonshine package (Packagist). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.5Medium
Exploit odds (30 days)0.3%top 72.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoonshine/moonshine3.12.5GHSA-8xfq-7f6m-mpmf

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

References