Skip to content
Heist/ feed
Back to feed
High

Insufficient file checks in m1k1o/blog

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23626
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:29 UTC · Revision 1

Source evidence

Insufficient file checks in m1k1o/blog

core-osv · Original source

Published 8 Feb 2022, 22:00 UTC

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.

osv:CVE-2022-23626
Complete source record
{
  "id": "220944035d5d1c2c5acb9e3a34c604dfa120e8da13d1c0b1d7edff71f9a6e057",
  "url": "https://osv.dev/vulnerability/CVE-2022-23626",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insufficient file checks in m1k1o/blog",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23626",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-23626",
      "aliases": [
        "CVE-2022-23626",
        "GHSA-wmqj-5v54-24x4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/m1k1o/blog",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:blog_project:blog:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.315972398Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23626.json",
        "https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23626",
        "https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23626.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23626",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517371,
  "published_at": "2022-02-08T22:00:12+00:00"
}