CVE-2026-52775: YesWiki Authenticated SQL Injection via ReactionManager

yeswiki/yeswiki Updated 10 Jul 2026

Summary

09/07/2026
Yes i
High
8.8

CVE-2026-52775: YesWiki has Authenticated SQL Injection via ReactionManager. Affects yeswiki/yeswiki versions < 4.6.6. Fixed in 4.6.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

YesWiki is an open-source wiki software that allows users to create and manage collaborative content. It is designed for ease of use and flexibility, enabling users to customize their wikis according to their needs. However, a recent vulnerability has been identified in its ReactionManager component, which could allow authenticated users to exploit SQL injection flaws.

Vulnerability Detail

The vulnerability arises from a SQL injection flaw in the ReactionManager::deleteUserReaction() method, where user input from the URL parameters {idreaction} and {id} is directly concatenated into a SQL LIKE clause without proper escaping or parameterization. This oversight allows any authenticated user to inject arbitrary SQL commands, potentially leading to unauthorized access to sensitive data, including password hashes and emails from the yeswiki_users table. The vulnerability is similar to CVE-2026-46670, which affects a different component of YesWiki but shares the same root cause of raw string concatenation in SQL queries.

How To Fix

Minimum fixed version

4.6.6

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.6.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the ReactionManager::deleteUserReaction() method to only trusted users until the patch can be applied. This can be done by modifying the ACL settings to limit access to specific user roles.

Conclusion

The CVE-2026-52775 vulnerability in YesWiki poses a significant risk due to its potential for SQL injection attacks by authenticated users. It is crucial to update to the latest version to mitigate this risk and ensure the security of user data.

See every vulnerability recorded for yeswiki/yeswiki →

Share this vulnerability

FAQ

CVE-2026-52775 is a vulnerability in YesWiki that allows authenticated users to perform SQL injection attacks through the ReactionManager component.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without any signup.

The vulnerability can lead to full database read/write access, allowing attackers to extract sensitive information such as user passwords and emails.

To update YesWiki, run the command 'composer update yeswiki/yeswiki' in your terminal to install version 4.6.6 or later.

If you cannot update immediately, consider restricting access to the affected functionality and monitoring your application for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for yeswiki/yeswiki.

How To Fix

Minimum fixed version

4.6.6

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.6.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback