Every CVE Search/ Get API key

CVE-2025-51489

MoonShine Arbitrary File Upload Vulnerability

5.4 MediumFix available

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.34%Up 0.3 points since Aug 20, 2025
90%50%10%1%

What each source reports

NVD Score used 5.4

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Record
CVE-2025-51489
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-79, CWE-434
Updated
2026-11-02
CVE List 4.5

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Record
CVE-2025-51489
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-434
Updated
2026-11-02
EUVDEUVD-2025-25180 4.5

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Record
EUVD-2025-25180
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-8xfq-7f6m-mpmf 4.5

MoonShine Arbitrary File Upload Vulnerability

An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.

Record
GHSA-8xfq-7f6m-mpmf
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-79, CWE-434
Updated
2026-11-02
OSV 4.5

A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to upload a malicious SVG file when creating/updating an Article and correctly execute arbitrary JavaScript when the file link is opened.

Record
CVE-2025-51489
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-8xfq-7f6m-mpmf 4.5

MoonShine Arbitrary File Upload Vulnerability

An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.

Record
GHSA-8xfq-7f6m-mpmf
CVSS 3.1
4.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Weakness
CWE-434, CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moonshine/moonshine
Packagist
before 3.12.5
3.12.5
moonshine/moonshine
Packagist
before 3.12.5, plus listed versions
1.0.01.1.01.10.01.11.01.12.0
Show 45 moreShow less
1.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.5

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-51489 is a medium vulnerability (CVSS 5.4) 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.34%, the 28th percentile. Fixed in moonshine/moonshine 3.12.5.

References

This page doesn't list everything

Left out here: 272 versions. The JSON record has them.

MoveEnter Open