{"id":"CVE-2025-51489","aliases":["CVE-2025-51489","GHSA-8xfq-7f6m-mpmf"],"related":[],"kind":"vulnerability","state":"published","title":"MoonShine Arbitrary File Upload Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An arbitrary file upload vulnerability in MoonShine v3.12.4 allows attackers to execute arbitrary code via uploading a crafted SVG file.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de carga de archivos arbitrarios en MoonShine v3.12.4 permite a los atacantes ejecutar código arbitrario mediante la carga de un archivo SVG manipulado.","source":"nvd"}],"published":"2025-08-19T00:00:00.000Z","modified":"2026-09-10T03:50:26.884Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.12.5"}],"ecosystem":"Packagist","package":"moonshine/moonshine","purl":"pkg:composer/moonshine/moonshine","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.12.5"}],"vendor":"moonshine","product":"moonshine","cpe":"cpe:2.3:a:moonshine:moonshine:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/moonshine-software/moonshine","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51489","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/moonshine-software/moonshine/commit/7102fb113627870fb1cb7176e1d0d95bb47a7fd4","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-19T18:08:39.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-51489","url":"https://www.cve.org/CVERecord?id=CVE-2025-51489","licence":"CVE Terms of Use","modified":"2025-08-20T19:08:11.138Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8xfq-7f6m-mpmf","url":"https://github.com/advisories/GHSA-8xfq-7f6m-mpmf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:26.884Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-51489","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51489","licence":"Public domain","modified":"2026-06-17T09:35:38.417Z"}],"updatedAt":"2026-11-25T22:59:02.686Z","epss":{"score":0.00391,"percentile":0.35378,"date":"2026-12-01T12:00:22.000Z"}}