# YesWiki has Authenticated SQL Injection via ReactionManager

High severity, published 2026-07-09. Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Canonical URL: https://buzzphp.com/security/ghsa-4pf7-cc4r-g63h · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.8) |
| Published | 2026-07-09 |
| Updated | 2026-07-09 |
| CVE | [CVE-2026-52775](https://nvd.nist.gov/vuln/detail/CVE-2026-52775) |
| GHSA | [GHSA-4pf7-cc4r-g63h](https://github.com/advisories/GHSA-4pf7-cc4r-g63h) |
| Weakness | CWE-89 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| yeswiki/yeswiki | < 4.6.6 | 4.6.6 |

## What to do

Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Check which version you run with `composer show yeswiki/yeswiki`, and every affected package with `composer audit`.

## About this advisory

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:

ACL "+" = any authenticated user.

## Links

- [GHSA-4pf7-cc4r-g63h on GitHub](https://github.com/advisories/GHSA-4pf7-cc4r-g63h)
- [CVE-2026-52775 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-52775)
- [All Composer security advisories](https://buzzphp.com/security)
