CVE-2026-52770
Received Received - Intake

Unauthenticated SQL Injection in YesWiki Bazar API

Vulnerability report for CVE-2026-52770, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
yeswiki yeswiki to 4.6.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

YesWiki before version 4.6.6 has an unauthenticated SQL injection flaw in its public Bazar entry-listing APIs. When numeric query filters are used for Bazar fields with numeric values, the system escapes user input but inserts it into SQL without quotes or numeric checks. Attackers can inject boolean SQL expressions and infer database contents based on returned entries.

Impact Analysis

An unauthenticated attacker could extract sensitive data from the database, modify or delete entries, or gain unauthorized access to the system. The vulnerability allows inference of database contents without needing credentials, posing risks to data confidentiality and integrity.

Compliance Impact

This vulnerability could lead to unauthorized data access or exposure, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Non-compliance may result in legal penalties, reputational damage, and loss of trust.

Mitigation Strategies

Update YesWiki to version 4.6.6 or later to patch the SQL injection vulnerability in Bazar entry-listing APIs. Ensure all numeric query filters are properly validated and escaped before SQL insertion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52770. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart