{
  "id": "CVE-2026-52778",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52778",
  "published_at": "2026-06-08T18:24:21.671Z",
  "title": "YesWiki has Unsafe eval() in Formula Calculator - Remote Code Execution (RCE) \u0026 Denial of Service (DoS)",
  "vendor": "YesWiki",
  "product": "yeswiki",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "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": "YesWiki is a wiki system written in PHP. Prior to version 4.6.6, an unsafe execution vulnerability exists in the Bazar form field calculator (CalcField.php) of YesWiki. The application attempts to sanitize user-defined mathematical formulas using a complex recursive regular expression before passing them to the PHP eval() function. This implementation is inherently flawed: it is vulnerable to Regular Expression Denial of Service (ReDoS / Stack Overflow) which can crash the server, and it creates a high-risk architecture where any logic bypass directly results in arbitrary PHP code execution. Version 4.6.6 patches the issue.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "YesWiki",
        "product": "yeswiki",
        "ranges": [
          "\u003c 4.6.6"
        ],
        "fixed_in": [
          "4.6.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yeswiki to 4.6.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/YesWiki/yeswiki/security/advisories/GHSA-px5m-h76g-p7p8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/YesWiki/yeswiki/commit/dd2bd8fb099de0d21504bda8a810693b3fcb8e52"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
