CVE-2026-52778
CRITICAL 9.8CVSS 3.1YesWiki has Unsafe eval() in its Formula Calculato, Leading to Remote Code Execution & Denial of Service
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.
- Published
- 8 Jun 2026
- Last modified
- 6 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333CWE-94
- Also known as
- GHSA-px5m-h76g-p7p8
- Sources
- NVDJSONOSV GHSA-px5m-h76g-p7p8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | yeswiki/yeswiki | < 4.6.6 | 4.6.6 |
References
- https://github.com/YesWiki/yeswiki/commit/dd2bd8fb099de0d21504bda8a810693b3fcb8e52 · WEB
- https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6 · WEB
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-px5m-h76g-p7p8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-52778 · ADVISORY
- https://github.com/YesWiki/yeswiki · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jul 2026)