CVE-2026-52778
YesWiki · YesWiki
YesWiki is vulnerable to an unsafe execution flaw in the Bazar form field calculator, allowing potential arbitrary PHP code execution and ReDoS attacks via malicious mathematical formulas.
Executive summary
A critical vulnerability in the YesWiki Bazar form field calculator allows unauthenticated attackers to achieve remote code execution or cause a denial-of-service condition.
Vulnerability
The vulnerability resides in the CalcField.php component, where user-defined mathematical formulas are passed to eval() after inadequate sanitization. This flaw permits unauthenticated attackers to bypass logic and execute arbitrary PHP code or trigger a stack overflow.
Business impact
With a CVSS score of 9.8, this vulnerability represents a critical threat to organizational integrity. Successful exploitation could lead to full system compromise, unauthorized access to sensitive wiki data, and complete operational downtime through server crashes.
Remediation
Immediate Action: Upgrade all YesWiki instances to version 4.6.6 or later immediately.
Proactive Monitoring: Review application logs for anomalous POST requests directed at CalcField.php and monitor server CPU/memory usage for signs of ReDoS-induced crashes.
Compensating Controls: Implement a Web Application Firewall (WAF) rule to inspect and block suspicious mathematical syntax or recursive patterns in form submissions.
Exploitation status
Public Exploit Available: false
Analyst recommendation
Given the critical CVSS rating and the high impact of arbitrary code execution, administrators must prioritize patching this vulnerability. Apply the update to version 4.6.6 without delay to neutralize the risk of remote compromise.