{"id":"GHSA-6jmr-r7p6-f5wr","aliases":["CVE-2025-0520"],"title":"ShowDoc unrestricted file upload vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"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.","severity":"critical","score":9.4,"published":"2025-04-29T21:31:55.000Z","modified":"2025-11-05T20:31:40.231Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"showdoc/showdoc","sources":[{"name":"OSV · GHSA-6jmr-r7p6-f5wr","url":"https://osv.dev/vulnerability/GHSA-6jmr-r7p6-f5wr"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.8.7"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.8.7"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-0520","https://github.com/star7th/showdoc/pull/1059","https://github.com/star7th/showdoc","https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585","https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585","https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce"],"sources":[{"name":"OSV","id":"GHSA-6jmr-r7p6-f5wr","modified":"2025-11-05T20:31:40.231416Z","url":"https://osv.dev/vulnerability/GHSA-6jmr-r7p6-f5wr"}],"assessments":[{"source":"OSV","vector":"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","score":9.4}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:25:34.350Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}