{"id":"CVE-2025-51489","published":"2025-08-19T00:00:00Z","modified":"2025-08-20T19:08:11Z","title":"A Stored Cross-Site Scripting (XSS) vulnerability exists in MoonShine version < 3.12.5, allowing remote attackers to…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00391,"percentile":0.34122,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/moonshine-software/moonshine","tags":[]},{"url":"https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":6.82},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.15}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-19T18:08:39.579221Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moonshine/moonshine","vulnerableRanges":["<3.12.5"],"patched":["3.12.5"],"from":["GHSA-8xfq-7f6m-mpmf"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in MoonShine, in versions earlier than 3.12.5, within the Article create and update functionality, where uploaded files are not restricted to safe types. An attacker with high privileges and user interaction, operating over the network, can upload a malicious SVG file that executes arbitrary JavaScript when a victim opens its link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:22Z"},"euvd":{"id":"EUVD-2025-25180","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/GiacoLenzo2109/MoonShine_Software_PoCs"],"lineage":{"packageHistory":[{"cve":"CVE-2025-51487","published":"2025-08-19","fixed":"3.12.4","kev":false,"link":{"from":"CVE-2025-51487","to":"CVE-2025-51489","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moonshine/moonshine","fromFixed":"3.12.4","toFixed":"3.12.5","daysApart":0},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same package + description similarity"}]}},{"cve":"CVE-2025-51489","published":"2025-08-19","fixed":"3.12.5","kev":false},{"cve":"CVE-2025-51488","published":"2025-08-19","fixed":"3.12.14","kev":false,"link":{"from":"CVE-2025-51489","to":"CVE-2025-51488","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moonshine/moonshine","fromFixed":"3.12.5","toFixed":"3.12.14","daysApart":0},{"kind":"similar","provenance":"machine","score":0.59,"basis":"same package + description similarity"}]}}],"package":"Packagist:moonshine/moonshine"}}