---
id: CVE-2026-116207
title: YesWiki 4.6.0 before 4.7.0 SQL Injection via Bazar Entries Search API
summary: >-
  YesWiki 4.6.0 before 4.7.0 and 5.0.0-alpha1 before 5.0.0-alpha4 contains an
  unauthenticated SQL injection vulnerability in
  SearchManager::prepareSearchRequest(). Field names from the query and
  searchfields parameters of the public Bazar …
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-89
vendor: YesWiki
product: yeswiki
affected:
  - yeswiki >= 4.6.0 < 4.7.0
  - yeswiki >= 5.0.0-alpha1 < 5.0.0-alpha4
published: '2026-10-25'
updated: '2026-10-25'
sourceUpdated: '2026-10-25T13:20:37.473Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116207'
references:
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-ccp2-6q93-hggh'
    label: GitHub Security Advisory (GHSA-ccp2-6q93-hggh)
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-hgxv-w4r8-8877'
    label: GitHub Security Advisory (GHSA-hgxv-w4r8-8877)
  - url: >-
      https://www.vulncheck.com/advisories/yeswiki-4.6.0-before-4.7.0-sql-injection-via-bazar-entries-search-api
    label: >-
      VulnCheck Advisory: YesWiki 4.6.0 before 4.7.0 SQL Injection via Bazar
      Entries Search API
tags:
  - cve.org
ingestedAt: '2026-10-25T22:08:29.938Z'
---

## Overview

YesWiki 4.6.0 before 4.7.0 and 5.0.0-alpha1 before 5.0.0-alpha4 contains an unauthenticated SQL injection vulnerability in SearchManager::prepareSearchRequest(). Field names from the query and searchfields parameters of the public Bazar entries search API are placed in a backtick-quoted alias escaped only with mysqli_real_escape_string. Attackers can supply a backtick to inject subqueries, reading data such as user password hashes or exhausting database threads with SLEEP().

## Affected

- `yeswiki >= 4.6.0 < 4.7.0`
- `yeswiki >= 5.0.0-alpha1 < 5.0.0-alpha4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
