CVE-2025-51489
Moonshine 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.
Affected products
Moonshine. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moonshine runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/GiacoLenzo2109/MoonShine_Software_PoCs · Exploit
- github.com/moonshine-software/moonshine
- nvd.nist.gov/vuln/detail/CVE-2025-51489
- github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4
- github.com/advisories/GHSA-8xfq-7f6m-mpmf
- nvd.nist.gov/vuln/detail/CVE-2025-51489
- cve.org/CVERecord?id=CVE-2025-51489
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.