{
  "id": "CVE-2025-2690",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-2690",
  "published_at": "2025-03-24T07:31:04.253Z",
  "title": "yiisoft Yii2 MockClass.php generate deserialization",
  "vendor": "yiisoft",
  "product": "Yii2",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\\src\\Framework\\MockObject\\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.5,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yiisoft",
        "product": "Yii2",
        "ranges": [
          "2.0.0",
          "2.0.1",
          "2.0.2",
          "2.0.3",
          "2.0.4",
          "2.0.5",
          "2.0.6",
          "2.0.7",
          "2.0.8",
          "2.0.9",
          "2.0.10",
          "2.0.11",
          "2.0.12",
          "2.0.13",
          "2.0.14",
          "2.0.15",
          "2.0.16",
          "2.0.17",
          "2.0.18",
          "2.0.19",
          "2.0.20",
          "2.0.21",
          "2.0.22",
          "2.0.23",
          "2.0.24",
          "2.0.25",
          "2.0.26",
          "2.0.27",
          "2.0.28",
          "2.0.29",
          "2.0.30",
          "2.0.31",
          "2.0.32",
          "2.0.33",
          "2.0.34",
          "2.0.35",
          "2.0.36",
          "2.0.37",
          "2.0.38",
          "2.0.39"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
