CVE-2025-51487
Moonshine vulnerability
A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing to execute arbitrary JavaScript by using "javascript:" payload, instead of the expected HTTPS protocol, in the CutCode Link parameter when creating/updating a new Article.
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-51487
- github.com/moonshine-software/moonshine/commit/f108f4ea5c0d66e8172c2dc397c1d9a6f466d9c6
- github.com/advisories/GHSA-p632-58pp-c9xg
- nvd.nist.gov/vuln/detail/CVE-2025-51487
- cve.org/CVERecord?id=CVE-2025-51487
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.