Technical impact
YesWiki before version 4.7.0 implements a SQL injection flaw in the despam.php script through the "from" POST parameter. The parameter is escaped but inserted into an unquoted INTERVAL clause, allowing an attacker with administrative privileges to inject arbitrary SQL. This blind injection can be used to read sensitive values from the database, including user password hashes, exposing credentials to the attacker. The vulnerability is not a direct code execution vector, but it enables unauthorized data exfiltration that can compromise the entire application.
Affected Systems
The issue affects installations of YesWiki prior to the 4.7.0 release. All deployments that run the vulnerable codebase—including self‑hosted instances or cloud‑based sites using older YesWiki versions—are potentially exposed. The vulnerability applies to any administrator user account that has permission to execute the despam.php handler.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity, with the main risk being the ability to retrieve password hashes from an authenticated session. The EPSS score is not available, so the current probability of exploitation cannot be quantified, but the absence of an EPSS rating does not imply low risk. The vulnerability is not listed in the CISA KEV catalog, yet the potential for credential theft makes it a high‑value target for attackers. Successful exploitation requires the attacker to be authenticated as an administrator; from there, blind SQL injection can be performed by sending crafted POST requests to the despam.php endpoint.