SQL Injection Vulnerability in YesWiki
CVE-2026-52771
8.3HIGH
What is CVE-2026-52771?
YesWiki, a PHP-based wiki system, is susceptible to an SQL injection vulnerability impacting versions from 4.2.0 up until 4.6.5. The flaw originates in the ApiController::deletePage() function, which improperly interpolates user-supplied page tags into SQL queries without adequate escaping. This permits low-privilege, authenticated users to craft page tags that can function as SQL fragments. When these tags are used, attackers can execute arbitrary SQL queries against the database, including the ability to perform blind data exfiltration from any table. The vulnerability has been addressed in version 4.6.6.
Affected Version(s)
yeswiki >= 4.2.0, < 4.6.6
