CVE-2025-51487: A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing to execute ar
CVE-2025-51487 is a medium-severity flaw (CVSS 4.5) 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 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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 63%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-08-19 |
| Last modified | 2026-06-17 |
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-51487?
moonshine: upgrade to 3.12.5. Exact commands for each OS are on this page.
Is CVE-2025-51487 being exploited?
CVE-2025-51487 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-51487 affect?
CVE-2025-51487 affects moonshine. Severity is medium (CVSS 4.5). 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 crea
How urgent is CVE-2025-51487?
Priority 30/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-51489 MEDIUM 5.4 UPGRADE A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attack
- CVE-2025-51488 MEDIUM 4.9 UPGRADE A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.4, allowing remote attack