Technical impact
This vulnerability allows attackers to inject arbitrary SQL code through the public Bazar entries search API by embedding a backtick in the field names passed in the query. The injection can read sensitive data such as user password hashes or cause denial of service by flooding the database with long-running queries. The weakness is a classic injectable statement problem (CWE‑89).
Affected Systems
YesWiki versions 4.6.0 through 4.6.x, and 5.0.0‑alpha1 through alpha4 are vulnerable. The affected component is the SearchManager::prepareSearchRequest() function in the Bazar search API.
Risk and Exploitability
The CVSS score of 8.8 indicates a high severity level. The EPSS score is currently not available, so the likelihood of exploitation is uncertain, but the vulnerability is unauthenticated and publicly reachable, making it a lucrative target for attackers. The vulnerability is not listed in CISA’s KEV catalog. With the backtick exploitation it is possible for an attacker to run arbitrary SQL commands, potentially leading to full data exfiltration or database exhaustion. The attack vector is the public web API endpoint used for searching Bazar entries.