{"id":"GHSA-6jmr-r7p6-f5wr","summary":"ShowDoc unrestricted file upload vulnerability","details":"An unrestricted file upload vulnerability in ShowDoc caused by improper validation of file extension allows execution of arbitrary PHP, leading to remote code execution. This issue affects ShowDoc: before 2.8.7.","aliases":["CVE-2025-0520"],"modified":"2025-11-05T20:16:06.888580Z","published":"2025-04-29T21:31:55Z","database_specific":{"github_reviewed_at":"2025-04-30T17:31:58Z","nvd_published_at":"2025-04-29T20:15:25Z","cwe_ids":["CWE-434"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0520"},{"type":"WEB","url":"https://github.com/star7th/showdoc/pull/1059"},{"type":"PACKAGE","url":"https://github.com/star7th/showdoc"},{"type":"WEB","url":"https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585"},{"type":"WEB","url":"https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce"}],"affected":[{"package":{"name":"showdoc/showdoc","ecosystem":"Packagist","purl":"pkg:composer/showdoc/showdoc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.7"}]}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.1.0","v1.1.1","v1.1.3","v1.1.4","v1.1.5","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.3.0","v1.3.1","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.3.8","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.4.6","v1.4.7","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.6.0","v1.6.1","v1.6.2","v1.7.0","v1.7.1","v1.7.2","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4","v1.8.5","v1.8.6","v2.0","v2.0.1","v2.0.10","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.0.9","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.3.3","v2.4.0","v2.4.1","v2.4.10","v2.4.11","v2.4.12","v2.4.13","v2.4.15","v2.4.16","v2.4.17","v2.4.2","v2.4.3","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.1","v2.5.2","v2.5.3","v2.5.5","v2.6.1","v2.6.2","v2.6.3","v2.6.5","v2.6.6","v2.6.7","v2.7.0","v2.7.1","v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.5","v2.8.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-6jmr-r7p6-f5wr/GHSA-6jmr-r7p6-f5wr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"}]}