CVE-2026-116828

YesWiki before 4.7.0 SQL Injection via despam.php INTERVAL operand

Published Oct 26, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
YesWiki before 4.7.0 contains a sql injection vulnerability in despam.php where the from parameter is escaped but placed in an unquoted INTERVAL position. Authenticated administrators can inject SQL via the from POST parameter to perform blind reads of the database including user password hashes.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.7.0 or later, which contains a fix for the SQL injection vulnerability.
  • Ensure that only trusted administrators have access to the despam.php endpoint and verify that admin credentials are strong and protected by two‑factor authentication.
  • Monitor web server logs for suspicious SQL patterns or repeated attempts to exploit the INTERVAL parameter, and block offending IP addresses if repeated attempts are detected.

Generated by OpenCVE AI on October 27, 2026 at 08:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description YesWiki before 4.7.0 contains a sql injection vulnerability in despam.php where the from parameter is escaped but placed in an unquoted INTERVAL position. Authenticated administrators can inject SQL via the from POST parameter to perform blind reads of the database including user password hashes.
Title YesWiki before 4.7.0 SQL Injection via despam.php INTERVAL operand
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-89
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 31, 2026, 2:16 AM
Reserved
Oct 26, 2026, 10:14 PM
Status
Deferred
Published
Oct 27, 2026, 12:17 AM
Modified
Oct 31, 2026, 3:17 AM