CVE-2025-51489
MEDIUM 5.4CVSS 3.1MoonShine 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.
- Published
- 19 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-434CWE-79
- Also known as
- GHSA-8xfq-7f6m-mpmf
- Sources
- NVDJSONOSV GHSA-8xfq-7f6m-mpmfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moonshine | moonshinecpe:2.3:a:moonshine:moonshine:*:*:*:*:*:*:*:* |
< 3.12.5 | 3.12.5 |
| OSV | Packagist | moonshine/moonshine | < 3.12.5 | 3.12.5 |
References
- https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs · Exploit, Third Party Advisory, WEB
- https://github.com/moonshine-software/moonshine · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2025-51489 · ADVISORY
- https://github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 19 Aug 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Aug 2025)