Skip to content
OpenAdvisories
High · 7.5 CVE-2026-52770 EUVD-2026-71802GHSA-qg78-vmvc-fhjw

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in yeswiki/yeswiki

Published Sep 4, 2026 · Updated Sep 8, 2026 · Assigned by GitHub_M

Description

YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki’s public Bazar entry-listing APIs are vulnerable to unauthenticated SQL injection in numeric query / queries filters. For Bazar fields whose value structure is numeric, YesWiki escapes the attacker-controlled filter value but inserts it into SQL without quotes or numeric validation. An unauthenticated attacker can inject boolean SQL expressions and infer database contents from whether entries are returned. This issue has been patched in version 4.6.6.

Affected products

VendorProductAffectedFixed
YesWiki yeswiki < 4.6.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist yeswiki/yeswiki < 4.6.6 4.6.6 GHSA-qg78-vmvc-fhjw

References