Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-4pf7-cc4r-g63h: YesWiki has Authenticated SQL Injection via ReactionManager

0
High
Published: 07/09/2026 (07/09/2026, 21:02:40 UTC)
Source: GCVE Database
Product: yeswiki/yeswiki

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Packagistghsa
yeswiki/yeswiki
Affected versions
<4.6.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:54:37 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses