Skip to main content

YesWiki CVE-2026-41143

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

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

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

Lifecycle Timeline

4
Patch available
May 07, 2026 - 07:01 EUVD
Source Code Evidence Fetched
May 07, 2026 - 05:47 vuln.today
Analysis Generated
May 07, 2026 - 05:47 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-41143 vulnerability details – vuln.today

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