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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1333",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52778.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.6.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "dd2bd8fb099de0d21504bda8a810693b3fcb8e52"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.6.6",
"range": [
{
"fixed": "fa81922f4103630911cbea98ead3c4b7bc786e19"
}
],
"source": "REFERENCES_TAG"
}
]
}