{"id":"CVE-2025-51489","aliases":["GHSA-8xfq-7f6m-mpmf"],"url":"https://o3.security/vulnerability/CVE-2025-51489","summary":"MoonShine Arbitrary File Upload Vulnerability","details":"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.","published":"2025-08-19T00:00:00Z","modified":"2026-10-28T02:30:45.415944582Z","cvss":{"score":4.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moonshine/moonshine","fixedVersion":"3.12.5"}],"fix":{"url":"https://github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4","label":"moonshine-software/moonshine@7102fb1"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51489.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51489"},{"type":"PACKAGE","url":"https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs"},{"type":"PACKAGE","url":"https://github.com/moonshine-software/moonshine"},{"type":"WEB","url":"https://github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:45.415944582Z"}}