{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:thinkphp:thinkphp:3.2.5:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.2.5"
              },
              {
                "last_affected": "3.2.5"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "45489acfa131cf47efa61e85be05bedc8c3c94cf"
            },
            {
              "last_affected": "45489acfa131cf47efa61e85be05bedc8c3c94cf"
            }
          ],
          "repo": "https://github.com/top-think/thinkphp",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.2.5"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50707.json"
  },
  "details": "An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component",
  "id": "CVE-2025-50707",
  "modified": "2026-07-15T01:49:22.374004401Z",
  "published": "2025-08-05T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://xinyisleep.github.io/2024-07-15/Thinkphp3.%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-39045"
    },
    {
      "type": "WEB",
      "url": "https://xinyisleep.github.io/CVE-2025-50707.md"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50707.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-50707"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}