{"id":"CVE-2022-23626","summary":"Insufficient file checks in m1k1o/blog","details":"m1k1o/blog is a lightweight self-hosted facebook-styled PHP blog. Errors from functions `imagecreatefrom*` and `image*` have not been checked properly. Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.","aliases":["GHSA-wmqj-5v54-24x4"],"modified":"2026-08-12T03:51:45.842474221Z","published":"2022-02-08T22:00:12Z","database_specific":{"cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23626.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23626.json"},{"type":"ADVISORY","url":"https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23626"},{"type":"FIX","url":"https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/m1k1o/blog","events":[{"introduced":"0"},{"fixed":"6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:blog_project:blog:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.4"}]}}],"versions":["v1.3","v1.2","1.18","v1.1","v1.05","1.041","1.04","v1.02","v1.03","v1.01","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23626.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}