Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-52775
Published:July 09, 2026
Updated:August 02, 2026
Summary YesWiki through the latest development branch contains a SQL injection vulnerability in "ReactionManager::deleteUserReaction()" that allows any authenticated user to inject arbitrary SQL via the "{idreaction}" and "{id}" URL path parameters. The parameters are concatenated directly into a SQL LIKE clause without escaping or parameterization. This is a sibling of CVE-2026-46670 (unauthenticated SQLi in "FormManager::create()"). Both share the same root cause — raw string concatenation into SQL queries — but exist in different components. Root Cause "includes/controllers/ApiController.php" line 726: /** * @Route("/api/reactions/{idreaction}/{id}/{page}/{username}", methods={"DELETE"}, options={"acl":{"+"}}) */ ACL ""+"" = any authenticated user. Parameters flow into "ReactionManager::deleteUserReaction()" → "TripleStore::delete()" with raw string concatenation into SQL LIKE clause (line 356). The "if" branch (lines 340-354) properly uses "$this->dbService->escape()". The "else" branch does not — the developer applied escaping to one code path but not the other. PoC DELETE /wiki/?api/reactions/x%27%20OR%201=1%20OR%20value%20LIKE%20%27/test/SomePage/attacker Host: localhost:8085 Cookie: <session cookie> Time-based blind variant via "{id}" parameter for data exfiltration. Impact Full database read/write. Any self-registered user can extract "yeswiki_users" password hashes and emails. Suggested Fix Apply "$this->dbService->escape()" to all parameters in the "else" branch, matching the "if" branch pattern. Also audit all "TripleStore::delete()" callers that pass "$extraSQL". Credits Kai Aizen / SnailSploit
Affected Packages
https://github.com/YesWiki/yeswiki.git (GITHUB):
Affected version(s) >=v4.1.0 <v4.6.6
Fix Suggestion:
Update to version v4.6.6
yeswiki/yeswiki (PHP):
Affected version(s) >=dev-aceditor-fix <v4.6.6
Fix Suggestion:
Update to version v4.6.6
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')