GHSA-4pf7-cc4r-g63h: YesWiki has Authenticated SQL Injection via ReactionManager
YesWiki versions prior to 4.6.6 contain an authenticated SQL injection vulnerability in the ReactionManager component. Authenticated users can exploit improper input handling in the deleteUserReaction() function, where URL path parameters are concatenated directly into a SQL LIKE clause without proper escaping. This allows arbitrary SQL injection, enabling full database read and write access, including extraction of user password hashes and emails.
AI Analysis
Technical Summary
YesWiki through the latest development branch prior to version 4.6.6 has an authenticated SQL injection vulnerability in ReactionManager::deleteUserReaction(). The vulnerability arises because the {idreaction} and {id} URL path parameters are concatenated directly into a SQL LIKE clause without escaping or parameterization in the else branch of the code, whereas the if branch properly escapes inputs. This flaw allows any authenticated user to inject arbitrary SQL commands, leading to full database read/write capabilities. The root cause is inconsistent use of input escaping in TripleStore::delete() calls. A proof of concept demonstrates a time-based blind SQL injection via the {id} parameter. The vulnerability is related to CVE-2026-46670 but affects a different component.
Potential Impact
An authenticated attacker can exploit this vulnerability to perform arbitrary SQL injection, resulting in full read and write access to the database. This includes the ability to extract sensitive information such as user password hashes and email addresses from the yeswiki_users table. The impact is high as it compromises confidentiality, integrity, and availability of the database.
Mitigation Recommendations
No official patch is currently documented. The suggested fix is to apply proper escaping using $this->dbService->escape() to all parameters in the vulnerable code path, matching the escaping used in the safe code path. Additionally, an audit of all TripleStore::delete() callers that pass extra SQL parameters is recommended to ensure no other injection vectors exist. Until a patch is released, restrict authenticated user permissions if possible and monitor for suspicious activity. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
GHSA-4pf7-cc4r-g63h: YesWiki has Authenticated SQL Injection via ReactionManager
Description
YesWiki versions prior to 4.6.6 contain an authenticated SQL injection vulnerability in the ReactionManager component. Authenticated users can exploit improper input handling in the deleteUserReaction() function, where URL path parameters are concatenated directly into a SQL LIKE clause without proper escaping. This allows arbitrary SQL injection, enabling full database read and write access, including extraction of user password hashes and emails.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
YesWiki through the latest development branch prior to version 4.6.6 has an authenticated SQL injection vulnerability in ReactionManager::deleteUserReaction(). The vulnerability arises because the {idreaction} and {id} URL path parameters are concatenated directly into a SQL LIKE clause without escaping or parameterization in the else branch of the code, whereas the if branch properly escapes inputs. This flaw allows any authenticated user to inject arbitrary SQL commands, leading to full database read/write capabilities. The root cause is inconsistent use of input escaping in TripleStore::delete() calls. A proof of concept demonstrates a time-based blind SQL injection via the {id} parameter. The vulnerability is related to CVE-2026-46670 but affects a different component.
Potential Impact
An authenticated attacker can exploit this vulnerability to perform arbitrary SQL injection, resulting in full read and write access to the database. This includes the ability to extract sensitive information such as user password hashes and email addresses from the yeswiki_users table. The impact is high as it compromises confidentiality, integrity, and availability of the database.
Mitigation Recommendations
No official patch is currently documented. The suggested fix is to apply proper escaping using $this->dbService->escape() to all parameters in the vulnerable code path, matching the escaping used in the safe code path. Additionally, an audit of all TripleStore::delete() callers that pass extra SQL parameters is recommended to ensure no other injection vectors exist. Until a patch is released, restrict authenticated user permissions if possible and monitor for suspicious activity. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4pf7-cc4r-g63h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52775"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a50ba7368715ace4358025c
Added to database: 07/10/2026, 09:25:07 UTC
Last enriched: 07/10/2026, 09:54:37 UTC
Last updated: 07/10/2026, 09:54:37 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.