CVE-2026-52778CWE-1333CWE-94code-injection

CVE-2026-52778

Critical · published June 8, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
56.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00798 · 56.1th percentile
Weaknesses
CWE-1333 · Inefficient Regular Expression Complexity; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-06-08T23:16Z
References (4)
EPSS history
Timeline
  • 08 JUN 18:24Z
    YesWiki has Unsafe eval() in Formula Calculator - Remote Code Execution (RCE) & Denial of Service (DoS)
    cvelistv5