Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-qg78-vmvc-fhjw: YesWiki: SQL Injection possible through public Bazar entry-listing APIs via numeric `query`/`queries` filters

0
High
Published: 07/09/2026 (07/09/2026, 21:00:05 UTC)
Source: GCVE Database
Product: yeswiki/yeswiki

Description

YesWiki versions prior to 4.6.6 have an unauthenticated SQL injection vulnerability in the public Bazar entry-listing APIs. The issue arises because numeric query filters are escaped but not properly validated or quoted, allowing attackers to inject boolean SQL expressions. This can lead to unauthorized inference of database contents via crafted queries. The vulnerability affects numeric Bazar fields such as number, range, and map latitude/longitude fields. No known exploits in the wild have been reported.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Packagistghsa
yeswiki/yeswiki
Affected versions
<4.6.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:55:42 UTC

Technical Analysis

YesWiki's public Bazar entry-listing APIs accept numeric query filters via GET parameters without proper numeric validation or quoting. The vulnerable code escapes user input but inserts it directly into SQL numeric expressions, enabling injection of boolean SQL subqueries. This allows unauthenticated attackers to manipulate SQL queries and infer database information based on query results. The vulnerability is present in versions before 4.6.6 and affects routes with public access. The injection occurs in SearchManager::buildQueriesConditions() where numeric values are concatenated into SQL without proper validation.

Potential Impact

An unauthenticated attacker can perform SQL injection via numeric query filters in the public API, potentially allowing them to infer sensitive database information. The vulnerability does not require authentication and can be exploited remotely. The impact is limited to information disclosure (confidentiality) as the CVSS vector indicates no integrity or availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict or disable public access to the vulnerable Bazar entry-listing APIs if possible. Avoid using numeric query filters in public API calls or implement strict numeric validation and quoting on inputs. Monitor vendor channels for official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-qg78-vmvc-fhjw
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52770"]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a50ba7468715ace43580333

Added to database: 07/10/2026, 09:25:08 UTC

Last enriched: 07/10/2026, 09:55:42 UTC

Last updated: 07/10/2026, 09:55:42 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses