SecurityContext

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

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/GiacoLenzo2109/MoonShine_Software_PoCsnvd2025-08-19

References

UrlSourceTags
https://github.com/GiacoLenzo2109/MoonShine_Software_PoCsnvdExploit, Third Party Advisory
https://github.com/moonshine-software/moonshinenvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
moonshine:moonshine< 3.12.5nonvd/v1/products/moonshine/moonshine

Projects

RepositoryLink kindsIndexedUrl
moonshine-software/moonshinecommit, fix, packageyes/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