Severity by source
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
Lifecycle Timeline
4DescriptionGitHub 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.
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-28312
GHSA-f58v-p6j9-24c2