CVE-2025-51489: MoonShine · Unrestricted File Upload
Source CVE Database V5
Not known to be exploited · CVSS 4.5 Medium · fixed in 3.12.5 : update affected systems when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.12.5
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Immediately upgrade MoonShine to version 3.12.5 or later once available, as this version addresses the vulnerability.
- Until patching is possible, implement strict file upload validation on the server side to restrict SVG uploads or sanitize SVG content to remove embedded scripts.
- Employ Content Security Policy (CSP) headers to restrict execution of inline scripts and limit the impact of any injected JavaScript.
- Enforce the principle of least privilege for user accounts, minimizing the number of users with permissions to upload or update articles.
- Educate users about the risks of clicking on unexpected or suspicious links, especially those pointing to SVG files.
- Monitor logs for unusual upload activity or access patterns to detect potential exploitation attempts.
- Consider disabling SVG uploads entirely if not required for business operations.
- Conduct regular security assessments and code reviews focusing on file upload functionality to prevent similar vulnerabilities.
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.