CVE-2026-52770
moderateUnauthenticated SQL Injection in YesWiki Bazar Entry-Listing APIs
YesWiki before 4.6.6 contains an unauthenticated SQL injection (CWE-89) in its public Bazar entry-listing APIs. An attacker who can reach these endpoints over the web can supply crafted values in numeric 'query'/'queries' filters that are escaped but inserted into the SQL statement without quotes or numeric validation, allowing boolean SQL expressions to be injected. By observing which entries are returned, the attacker can infer database contents, with high confidentiality impact but no integrity or availability impact. Any deployment running a version prior to 4.6.6 with Bazar list APIs exposed without authentication is affected, which is a common configuration for this self-hosted wiki. Exploitation has not been reported in the wild, no public proof-of-concept is known, and the issue is not in CISA KEV (EPSS ~0.3%).
What to do: Upgrade to YesWiki 4.6.6 or later. If patching is delayed, restrict or authenticate public access to the Bazar entry-listing endpoints (or apply WAF rules validating that the query/queries filter values are strictly numeric) and review web access logs for anomalous filtering patterns. Confirm the deployed version before treating the issue as remediated.
| YesWiki project YesWiki | all versions prior to 4.6.6 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-89
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
In the news0 stories
No ingested article mentions this CVE yet.