Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, 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 issue has been patched in version 4.6.6.
Published: 2026-09-04
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

YesWiki contains a SQL injection flaw in the ReactionManager::deleteUserReaction() function. The flaw arises because the {idreaction} and {id} URL path parameters are concatenated directly into a SQL LIKE clause without escaping or parameterization. This allows an attacker to inject arbitrary SQL, potentially enabling deletion of arbitrary data, extraction of sensitive information, or other database manipulation from within an authenticated session.

Affected Systems

Any deployment of YesWiki older than version 4.6.6 is affected. The vulnerability exists in the YesWiki::yeswiki project and is present in all builds before 4.6.6, regardless of operating environment, as long as the default ReactionManager code is used.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity risk. Because authentication is required to use the vulnerable endpoint, the attack vector is limited to legitimate users or compromised accounts. No publicly disclosed exploit code is known and the EPSS score is not available, but the lack of credential compromise elevates the risk to any attacker who can gain user access. The vulnerability is not listed in CISA KEV, suggesting no confirmed industrial exploitation at this time. The potential impact includes unauthorized data deletion and schema tampering, which can lead to data loss or corruption if no proper safeguards are in place.

Generated by OpenCVE AI on September 5, 2026 at 01:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.6.6 or later, which patches the SQL injection.
  • Review database user permissions to ensure that the application database account has least privilege and cannot alter tables beyond its intended scope.
  • Refactor any remaining query constructions in the site’s modules to use parameterized statements or proper input sanitization to prevent similar injection risks.

Generated by OpenCVE AI on September 5, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4pf7-cc4r-g63h YesWiki has Authenticated SQL Injection via ReactionManager
History

Sat, 05 Sep 2026 00:00:00 +0000

Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. Prior to version 4.6.6, 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 issue has been patched in version 4.6.6.
Title YesWiki Authenticated SQL Injection in ReactionManager
Weaknesses CWE-89
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T23:51:35.523Z

Reserved: 2026-06-08T17:13:43.065Z

Link: CVE-2026-52775

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T00:17:20.520

Modified: 2026-09-05T00:17:20.520

Link: CVE-2026-52775

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:30:17Z

Weaknesses
  • CWE-89

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