External risk intelligence

YesWiki Bazar Form Field Calculator Arbitrary Code Execution Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-52778

YesWiki is a web-based application designed to be accessed via a browser. As a wiki system, it is commonly deployed as a public-facing web service to allow for collaborative editing and information sharing, making its web interface and integrated form features naturally reachable from the internet.

Code Injection

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A critical vulnerability in the YesWiki system could allow for server crashes or complete system compromise. The issue stems from how the system processes mathematical formulas in its form fields, potentially enabling attackers to execute arbitrary code on the server. The main concern is confirming relevance and exposure, as this could have significant implications if YesWiki is in use.

  • Unsafe math formula processing could risk server control.
  • Critical vulnerability impacts a widely used wiki system.
  • Confirm YesWiki usage and assess exposure immediately.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this vulnerability by sending a specially crafted mathematical formula to the YesWiki system through its form field calculator. Because the application's sanitization process for these formulas is flawed and does not properly prevent malicious input from reaching the PHP eval() function, an attacker could bypass security checks. Successful exploitation can lead to arbitrary PHP code execution on the server, giving the attacker significant control.

  • No special access required.
  • Submit malicious formula to calculator.
  • Arbitrary code execution.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability in YesWiki's form field calculator could allow an unauthenticated attacker to execute arbitrary PHP code on the server when supported by the advisory. This occurs because user-supplied mathematical formulas are not adequately sanitized before being processed by the PHP `eval()` function, creating an insecure execution environment.

  • Arbitrary PHP code execution.
  • Unsanitized user input to `eval()`.
  • Server compromise and data theft.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts YesWiki instances, likely managed by web administrators or platform teams responsible for the wiki system. The immediate priority is to identify all deployed YesWiki instances, determine their exposure, and confirm business criticality. This will inform the prioritization of remediation efforts, which may involve coordination with the vendor or development teams for applying updates within planned maintenance windows.

  • Confirm YesWiki instances and their exposure.
  • Identify accountable owners for each instance.
  • Plan remediation based on risk assessment.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is YesWiki?

YesWiki is a collaborative, web-based platform built with PHP, used by organizations to manage wikis and shared documentation. It features integrated tools like the Bazar module, which allows users to create forms with custom fields, including calculators that process mathematical formulas for data collection and analysis.

What does CVE-2026-52778 mean for YesWiki?

This vulnerability involves Improper Control of Generation of Code and Inefficient Regular Expression Complexity. Essentially, YesWiki attempts to clean user input using complex patterns before running it, but these filters fail. This allows attackers to bypass security and force the server to execute malicious PHP code or trigger a crash.

How does an attacker trigger this vulnerability?

An attacker triggers this by submitting a specifically crafted mathematical formula into a Bazar form field. The bug resides in how the system processes these inputs; simply viewing a form or visiting the wiki without submitting data to the affected calculator component does not trigger the underlying code execution flaw.

Is my instance affected by this CVE?

According to Halo Surface Signal, YesWiki is typically deployed as a public-facing web service, meaning the form features are often reachable from the internet. If your instance is accessible to the public, it is at higher risk because attackers do not need prior authentication to submit malicious formulas to the calculator.

How do I fix this security issue?

The primary response is to upgrade your YesWiki installation to version 4.6.6 or later. This update corrects the flawed formula sanitization logic. You should start by auditing your infrastructure to locate all active YesWiki instances, confirm their current version, and coordinate a maintenance window to apply the patched software release.

References