CVE-2026-52778
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, an …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/YesWiki/yeswiki/commit/dd2bd8fb099de0d21504bda8a810693b3fcb8e52
- github.com/YesWiki/yeswiki/releases/tag/v4.6.6
- github.com/YesWiki/yeswiki/security/advisories/GHSA-px5m-h76g-p7p8
- nvd.nist.gov/vuln/detail/CVE-2026-52778
- github.com/advisories/GHSA-px5m-h76g-p7p8
- nvd.nist.gov/vuln/detail/CVE-2026-52778
- cve.org/CVERecord?id=CVE-2026-52778
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.