CVE-2025-51489
MoonShine Arbitrary File Upload Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.4
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.
- Record
CVE-2025-51489- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79, CWE-434
- Updated
- 2026-11-02
CVE List
4.5
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.
- Record
CVE-2025-51489- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-434
- Updated
- 2026-11-02
EUVDEUVD-2025-25180
4.5
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.
- Record
EUVD-2025-25180- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8xfq-7f6m-mpmf
4.5
MoonShine Arbitrary File Upload Vulnerability
An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.
- Record
GHSA-8xfq-7f6m-mpmf- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79, CWE-434
- Updated
- 2026-11-02
OSV
4.5
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.
- Record
CVE-2025-51489- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-8xfq-7f6m-mpmf
4.5
MoonShine Arbitrary File Upload Vulnerability
An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.
- Record
GHSA-8xfq-7f6m-mpmf- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-434, CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moonshine/moonshinePackagist |
before 3.12.5 | 3.12.5 |
moonshine/moonshinePackagist |
before 3.12.5, plus listed versions 1.0.01.1.01.10.01.11.01.12.0 Show 45 moreShow less1.13.01.14.01.14.11.15.01.15.11.15.21.15.31.16.01.17.01.17.11.18.01.19.01.19.11.2.01.2.11.2.21.20.01.20.11.21.01.21.11.21.21.22.01.22.11.23.01.23.11.23.21.24.01.25.01.25.11.25.21.25.31.25.41.25.51.25.61.25.71.25.81.26.01.26.11.27.01.27.11.27.21.27.31.28.01.3.01.4.0 |
3.12.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-51489 is a medium vulnerability (CVSS 5.4) in Moonshine, published August 19, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 28th percentile. Fixed in moonshine/moonshine 3.12.5.
References
github.com/moonshine-software/moonshine
github.com/GiacoLenzo2109/MoonShine_Software_PoCs
nvd.nist.gov/vuln/detail/CVE-2025-51489
github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4
github.com/advisories/GHSA-8xfq-7f6m-mpmf
github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51489.json
Left out here: 272 versions. The JSON record has them.