CVE-2025-51488: A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.4, allowing remote attack
CVE-2025-51488 is a medium-severity flaw (CVSS 4.9) 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.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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 54%) |
| 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-51488?
moonshine: upgrade to 3.12.5. Exact commands for each OS are on this page.
Is CVE-2025-51488 being exploited?
CVE-2025-51488 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-51488 affect?
CVE-2025-51488 affects moonshine. Severity is medium (CVSS 4.9). 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 Admi
How urgent is CVE-2025-51488?
Priority 34/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-51487 MEDIUM 4.5 UPGRADE A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing to execute ar