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

- Severity: Medium 4.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-19T00:00:00.000Z
- Modified: 2026-09-10T03:50:26.884Z
- Also known as: GHSA-8xfq-7f6m-mpmf
- Weaknesses: CWE-79, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- moonshine/moonshine (Packagist): before 3.12.5
- moonshine moonshine: before 3.12.5

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs> (exploit, third-party-advisory, web)
- <https://github.com/moonshine-software/moonshine> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-51489> (advisory)
- <https://github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4> (web)

## Sources

- CVE List: [CVE-2025-51489](https://www.cve.org/CVERecord?id=CVE-2025-51489), CVE Terms of Use, modified 2025-08-20
- GitHub Advisory Database: [GHSA-8xfq-7f6m-mpmf](https://github.com/advisories/GHSA-8xfq-7f6m-mpmf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-51489](https://nvd.nist.gov/vuln/detail/CVE-2025-51489), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51489 · Whole record: https://cve.day/CVE-2025-51489.json · Rebuilt by cve.day 2026-11-25T22:59:02.686Z
