CVE-2025-51487: MoonShine - Stored XSS
- Cve: CVE-2025-51487
- Name: MoonShine - Stored XSS
- Description: 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.
- Impact: Attackers can execute arbitrary scripts in users' browsers, potentially stealing data or performing actions on behalf of users.
- Remediation: Update to the latest version of MoonShine.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.0049
- Epss percentile: 0.42997
- Assignee: [email protected]
- Published at: 2025-08-19T15:15:28Z
- Age in days: 462
- Modified at: 2026-06-17T09:35:38Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-51487
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs | nvd | 2025-08-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs | nvd | Exploit, Third Party Advisory |
| https://github.com/moonshine-software/moonshine | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moonshine:moonshine | < 3.12.5 | no | nvd | /v1/products/moonshine/moonshine |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moonshine-software/moonshine | commit, fix, package | yes | /v1/repositories/moonshine-software/moonshine |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-08-19
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts