YesWiki
YesWiki has Unsafe eval() in Formula Calculator - Remote Code Execution (RCE) & Denial of Service (DoS)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.6.6
Fixed in 4.6.6
Mitigation
Upgrade yeswiki to 4.6.6 or later.
References
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
- Patch github.com/YesWiki/yeswiki/commit/dd2bd8fb099d…
- Release notes github.com/YesWiki/yeswiki/releases/tag/v4.6.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.