Skip to content
Vulnerability Intelligence

CVE-2026-52778

CriticalPublic exploit

Prior to version 4.6.6, an unsafe execution vulnerability exists in the Bazar form field calculator (CalcField.php) of YesWiki.

Published Jun 8, 2026 · Updated Oct 8, 2026 · Also known as EUVD-2026-35181, GHSA-px5m-h76g-p7p8

Key Facts

Patch immediately
  • CVE-2026-52778 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting yeswiki/yeswiki (composer), yeswiki.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 0.8% probability of exploitation in the next 30 days.
  • Fixed versions are available, including yeswiki 4.6.6, yeswiki/yeswiki 4.6.6.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

0.8%

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2026-52778 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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 Products

3 affected entries in total
ProductAffected versionsFixed in
yeswiki/yeswikicomposerSee advisory4.6.6
yeswiki>= < 4.6.64.6.6

Patched Releases

yeswiki

4.6.6

yeswiki/yeswiki

4.6.6

Timeline

  1. Publicly disclosed

    Jun 8, 2026

  2. Last updated

    Oct 8, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-1333 Inefficient Regular Expression Complexity

References

2 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-52778 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo