CVE-2025-51487

Medium

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.

SeverityMedium
CVSS4.5
Exploit probability—
ProductMoonshine
PublishedAug 19, 2025
First seenAug 19, 2025

How to fix

Update
  • moonshine moonshine3.12.5 or later
  • moonshine/moonshine3.12.4 or later

Affected products

ProductAffected versionsFixed in
moonshine moonshinev < 3.12.53.12.5
moonshine/moonshinePackagistv < 3.12.43.12.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.