CVE-2025-51488
Moonshine vulnerability
A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.4, allowing remote attackers to store and execute arbitrary JavaScript by including a malicious HTML payload in the Name parameter when creating a new Admin.
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-51488
- github.com/moonshine-software/moonshine/commit/f108f4ea5c0d66e8172c2dc397c1d9a6f466d9c6
- github.com/advisories/GHSA-rh9f-gr6q-mpc4
- nvd.nist.gov/vuln/detail/CVE-2025-51488
- cve.org/CVERecord?id=CVE-2025-51488
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.