Home / Moonshine / Moonshine / CVE-2025-51489
CVE-2025-51489: is it exploited, and which versions of Moonshine are affected and fixed?
CVE-2025-51489 is a cross-site scripting (XSS) vulnerability in Moonshine. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: moonshine/moonshine before 3.12.5 (GitHub advisory GHSA-8xfq-7f6m-mpmf). Fixed in 3.12.5 (GitHub advisory GHSA-8xfq-7f6m-mpmf). Severity: Medium (4.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is 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 file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.
From the CVE record by mitre, last updated August 20, 2025, 19:08 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | moonshine/moonshine | < 3.12.5 | 3.12.5 | GHSA-8xfq-7f6m-mpmf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 21, 2025. Summary: MoonShine Arbitrary File Upload Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moonshine | moonshine | before 3.12.5 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:35 UTC.
How severe is CVE-2025-51489?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N | CISA-ADP |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-51489 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 19, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-434 Unrestricted Upload of File with Dangerous Type
Where are the vendor advisories and references?
- https://github.com/moonshine-software/moonshine
- https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs
When was it published, and where is the official record?
- Reserved
- June 16, 2025
- Published
- August 19, 2025, 00:00 UTC
- CVE record updated
- August 20, 2025, 19:08 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 09:35 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Moonshine?
- Aug 19, 2025CVE-2025-51488 Moonshine: cross-site scripting (XSS)
- Aug 19, 2025CVE-2025-51487 Moonshine: cross-site scripting (XSS)
Questions about CVE-2025-51489
Is CVE-2025-51489 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Moonshine are affected by CVE-2025-51489?
moonshine/moonshine before 3.12.5, per the GitHub advisory GHSA-8xfq-7f6m-mpmf. The tables above give every range the sources list.
Which version fixes CVE-2025-51489?
3.12.5, per the GitHub advisory GHSA-8xfq-7f6m-mpmf. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-51489?
Medium (4.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-51489?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.