CVE-2025-51488
moonshine Stored Cross-Site Scripting Vulnerability in Create Admin
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
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 Admin.
- Record
CVE-2025-51488- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2025-25181
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 Admin.
- Record
EUVD-2025-25181- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rh9f-gr6q-mpc4
4.9
moonshine Stored Cross-Site Scripting Vulnerability in Create Admin
A stored cross-site scripting (XSS) vulnerability in the Create Admin function of MoonShine v3.12.3 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Name parameter.
- Record
GHSA-rh9f-gr6q-mpc4- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
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 Admin.
- Record
CVE-2025-51488- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
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 Admin.
- Record
CVE-2025-51488- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-rh9f-gr6q-mpc4
4.9
moonshine Stored Cross-Site Scripting Vulnerability in Create Admin
A stored cross-site scripting (XSS) vulnerability in the Create Admin function of MoonShine v3.12.3 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Name parameter.
- Record
GHSA-rh9f-gr6q-mpc4- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moonshine/moonshinePackagist |
before 3.12.4 | 3.12.4 |
moonshine/moonshinePackagist |
before 3.12.14, plus listed versions 1.0.01.1.01.10.01.11.01.12.0 Show 45 moreShow less1.13.01.14.01.14.11.15.01.15.11.15.21.15.31.16.01.17.01.17.11.18.01.19.01.19.11.2.01.2.11.2.21.20.01.20.11.21.01.21.11.21.21.22.01.22.11.23.01.23.11.23.21.24.01.25.01.25.11.25.21.25.31.25.41.25.51.25.61.25.71.25.81.26.01.26.11.27.01.27.11.27.21.27.31.28.01.3.01.4.0 |
3.12.14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-51488 is a medium vulnerability (CVSS 4.9) in Moonshine, published August 19, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. Fixed in moonshine/moonshine 3.12.4.
References
github.com/moonshine-software/moonshine
github.com/GiacoLenzo2109/MoonShine_Software_PoCs
nvd.nist.gov/vuln/detail/CVE-2025-51488
github.com/moonshine-software/moonshine/commit/f108f4ea5c0d66e8172c2dc397c1d9a6f466d9c6
github.com/advisories/GHSA-rh9f-gr6q-mpc4
github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51488.json
Left out here: 274 versions. The JSON record has them.