CVE-2025-51489: A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attack
CVE-2025-51489 is a medium-severity flaw (CVSS 5.4) affecting moonshine. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-51489?
moonshine: upgrade to 3.12.5. Exact commands for each OS are on this page.
Is CVE-2025-51489 being exploited?
CVE-2025-51489 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-51489 affect?
CVE-2025-51489 affects moonshine. Severity is medium (CVSS 5.4). 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
How urgent is CVE-2025-51489?
Priority 31/100. Public exploit reference
Related CVEs
- CVE-2025-51510 MEDIUM 4.9 UPGRADE MoonShine was discovered to contain a SQL injection vulnerability under the Blog -> Categories page when using
- CVE-2025-51488 MEDIUM 4.9 UPGRADE A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.4, allowing remote attack
- CVE-2025-51487 MEDIUM 4.5 UPGRADE A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing to execute ar