XSS in Moonshine

CVE-2025-51487

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (36.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-51487?
CVE-2025-51487 is a medium-severity vulnerability in Moonshine, classified under Cross-site Scripting. CVSS score: 4.5/10. Published 2025-08-19.
How severe is CVE-2025-51487?
Medium severity. CVSS v3 base score is 4.5 out of 10.
Is CVE-2025-51487 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.