CVE-2026-52778: Vulnerability in yeswiki/yeswiki

Critical. 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...

Packagist, CWE-94, CWE-1333

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-px5m-h76g-p7p8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94, CWE-1333
Published
8 Jun 2026
Last change
6 Oct 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • yeswiki/yeswiki Packagist, Affected before 4.6.6. Fixed in 4.6.6

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes