Skip to main content

YesWiki EUVDEUVD-2026-28312

| CVE-2026-41143 HIGH
SQL Injection (CWE-89)
2026-05-07 GitHub_M GHSA-f58v-p6j9-24c2
8.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register/compromise user account
  2. Delivery
    Authenticate to obtain session cookie
  3. Exploit
    POST crafted id_fiche payload to /api/entries
  4. Install
    Trigger SQL injection in EntryManager.php line 704
  5. C2
    Execute time-based blind SQLi with SLEEP()
  6. Execute
    Automate extraction with sqlmap
  7. Impact
    Dump wiki_users table for credentials
  8. Step 8
    Escalate to admin privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access as any user with acl:{+} permissions, which typically includes all registered users on default YesWiki installations. The target YesWiki instance must have the bazar module enabled (installed by default) with at least one form (id_typeannonce) created by administrators. The /api/entries/{formId} REST API endpoint must be accessible to authenticated users-no special configuration or non-default settings required. The vulnerability affects default configurations when POST requests to the API endpoint are processed. Exploitation does NOT require: administrative privileges, specific PHP version, non-default database configuration, or user interaction beyond the attacker's own authenticated session. Limiting factor: attacker must possess or create valid authentication credentials, which is trivial on publicly accessible wikis with open registration enabled but requires social engineering or credential compromise on private installations with restricted user enrollment.

Impact

CVSS 8.8 (High) reflects network-accessible, low-complexity attack requiring only low-privilege authentication with no user interaction, yielding high impact to confidentiality, integrity, and availability. Real-world risk is elevated because: (1) Authentication barrier is minimal-any registered user account suffices, not admin privileges. (2) GitHub security advisory includes working proof-of-concept with Docker reproduction steps demonstrating both time-based blind SQLi (SLEEP injection with measured 3-second delays) and error-based exfiltration (extractvalue() returning MySQL version). (3) sqlmap automation confirmed at technique levels BET (Boolean/Error/Time-based). (4) Attack surface includes REST API endpoints commonly exposed to authenticated users in wiki deployments. (5) Impact extends beyond data exfiltration to potential privilege escalation via user credential dumping or direct database manipulation. However, risk is moderated by authentication prerequisite and lack of evidence for active exploitation-no CISA KEV listing and EPSS data unavailable at time of analysis. This is a genuine priority for YesWiki deployments with untrusted authenticated users (e.g., public wikis with open registration) but lower urgency for private installations with trusted user bases. Organizations should prioritize patching if running versions ≤4.6.0 with exposed API endpoints.

Exploit ScenarioDerived

An attacker registers a standard user account on a public YesWiki instance (or compromises existing low-privilege credentials). They authenticate via the web interface to obtain a valid wikini_session cookie. The attacker then crafts a POST request to /api/entries/1 (assuming bazar form ID 1 exists) with payload id_fiche=' OR SLEEP(5) OR ' and observes a 5-second response delay, confirming SQL injection. They escalate to automated extraction using sqlmap with the --technique=BET flag, dumping the wiki_users table to harvest password hashes. With admin credentials recovered via hash cracking or direct database manipulation (UPDATE wiki_users SET password=...), the attacker gains full administrative control. Publicly available proof-of-concept code exists in the GitHub security advisory including Docker reproduction environment and working curl commands for both time-based and error-based injection techniques.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Authenticated SQL injection in YesWiki bazar module allows low-privileged users to execute arbitrary SQL queries against the MySQL backend. The vulnerability exists in EntryManager.php line 704 where POST parameter 'id_fiche' is concatenated directly into a SELECT query without sanitization. Any authenticated user can exploit this via the /api/entries/{formId} endpoint to dump database contents, extract credentials, or manipulate data. Time-based blind SQLi confirmed via SLEEP() injection with 3-second delays, and error-based extraction confirmed via extractvalue() technique. Patched in version 4.6.1. EPSS data not available; no CISA KEV listing identified at time of analysis.

RemediationAI

Upgrade to YesWiki version 4.6.1 immediately, released at https://github.com/YesWiki/yeswiki/releases/tag/v4.6.1 which patches the SQL injection via parameterized queries or proper input escaping in EntryManager.php. For Composer-managed installations, update the yeswiki/yeswiki package to >=4.6.1. If immediate patching is not feasible, implement compensating controls: (1) Restrict access to /api/entries/* endpoints via web application firewall rules to trusted IP ranges only, though this reduces wiki collaboration functionality. (2) Disable the bazar module entirely if form-based content management is not required-this breaks form submission features but eliminates the attack surface. (3) Implement database-level read-only permissions for the YesWiki database user to prevent data manipulation, though this may cause application errors during legitimate write operations and does not prevent data exfiltration. (4) Deploy intrusion detection signatures monitoring for SQL injection patterns in id_fiche POST parameters (regex: SLEEP\(|extractvalue\(|UNION SELECT) with alert thresholds, accepting false positives from legitimate entry IDs. Note that none of these workarounds fully mitigate the vulnerability-patching to 4.6.1 is the only complete solution. Refer to vendor advisory https://github.com/YesWiki/yeswiki/security/advisories/GHSA-f58v-p6j9-24c2 for technical details.

Affected VersionsENISA

yeswiki < 4.6.1

Affected Packages

composer yeswiki/yeswiki fix: 4.6.1
euvd yeswiki fix: 4.6.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

YesWiki is a PHP-based wiki platform using MySQL/MariaDB for data persistence. The bazar module provides form-based content management through the EntryManager service class. The vulnerability is a classic CWE-89 SQL injection flaw where user-controlled input from $_POST['id_fiche'] flows directly into mysqli_query() via dbService->loadSingle() without parameterized queries or escaping. The codebase includes an escape() method that is NOT invoked on this code path. The affected SQL query template is: SELECT MIN(time) as firsttime FROM wiki_pages WHERE tag='[UNSANITIZED_INPUT]'. PHP's mysqli extension is used but without prepared statements. The /api/entries/{formId} REST endpoint enforces only minimal ACL (acl:{+} = any authenticated user) before passing POST data to EntryManager::formatDataBeforeSave(). CPE identifies yeswiki:yeswiki product line; all versions prior to 4.6.1 are affected.

Know when Yeswiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
May 07, 2026 - 07:01 EUVD
CVE Published
May 07, 2026 - 05:08 nvd
HIGH 8.8

DescriptionGitHub Advisory

YesWiki is a wiki system written in PHP. Prior to version 4.6.1, YesWiki bazar module contains a SQL injection vulnerability in tools/bazar/services/EntryManager.php at line 704. The $data['id_fiche'] value (sourced from $_POST['id_fiche']) is concatenated directly into a raw SQL query without any sanitization or parameterization. This issue has been patched in version 4.6.1.

Executive ViewAI

Why It Matters

CVE-2026-41143 is a high-severity SQL injection vulnerability in YesWiki's bazar module that allows authenticated users to execute arbitrary database queries, potentially exposing credentials and sensitive data stored in the MySQL backend. Organizations running YesWiki versions prior to 4.6.1 should prioritize immediate patching, as the vulnerability affects data confidentiality and integrity with moderate attack complexity.

Business Impact: High
Compensating Controls

Vendor-released patch: YesWiki version 4.6.1. Until patching is completed, implement network-layer access controls to restrict access to the /api/entries/ endpoint; enforce principle of least privilege by limiting authenticated user accounts with bazar module access; enable comprehensive SQL query logging and monitor for SLEEP() or extractvalue() patterns; consider temporarily disabling the bazar module API if it is not operationally critical.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2025-31131 HIGH POC
8.6 Apr 01

YesWiki is a wiki system written in PHP. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitable, no

CVE-2025-46348 CRITICAL POC
10.0 Apr 29

YesWiki is a wiki system written in PHP. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable

CVE-2026-52778 CRITICAL POC
9.8 Jun 08

Remote code execution in YesWiki prior to 4.6.6 allows unauthenticated attackers to inject arbitrary PHP via the Bazar C

CVE-2024-51478 CRITICAL POC
9.1 Oct 31

YesWiki is a wiki system written in PHP. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable,

CVE-2025-46349 HIGH POC
7.6 Apr 29

YesWiki is a wiki system written in PHP. Rated high severity (CVSS 7.6), this vulnerability is remotely exploitable, no

CVE-2026-116205 MEDIUM POC
6.9 Oct 25

Unauthenticated server-side request forgery in YesWiki before 4.7.0 lets any remote visitor make the wiki server issue H

CVE-2025-46347 MEDIUM POC
5.8 Apr 29

YesWiki is a wiki system written in PHP. Rated medium severity (CVSS 5.8), this vulnerability is remotely exploitable, n

CVE-2025-46346 MEDIUM POC
6.3 Apr 29

YesWiki is a wiki system written in PHP. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploitable, n

CVE-2025-52277 MEDIUM POC
6.1 Sep 09

Cross Site Scripting vulnerability in YesWiki v.4.54 allows a remote attacker to execute arbitrary code via a crafted pa

CVE-2018-1000641 CRITICAL
9.8 Aug 20

YesWiki version <= cercopitheque beta 1 contains a PHP Object Injection vulnerability in Unserialising user entered para

CVE-2026-104467 CRITICAL
9.2 Oct 02

Authorization bypass in YesWiki before 4.6.7 lets unauthenticated remote attackers call admin-only API routes when the i

CVE-2026-104445 HIGH
8.8 Oct 02

Unauthenticated attackers can delete or overwrite federated entries in YesWiki instances before 4.6.7 that have Activity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy