All vulnerabilities

Servers and applications

CVE-2026-41143

Authenticated SQL Injection via id_fiche in EntryManager::formatDataBeforeSave()

Severity
High 8.8
Published
17 Apr 2026
Last changed
18 Apr 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.1
Exploit chance
0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-f58v-p6j9-24c2
Sources
Project advisories (GitHub)

Description

CWE: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

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.

  • Attacker authenticates as any user (route requires acl:{"+"})
  • POST /api/entries/{formId} with id_fiche=' OR SLEEP(3) OR '
  • ApiController::createEntry() checks isEntry($_POST['id_fiche']) → false (not existing entry) → calls create()
  • create() → formatDataBeforeSave() → SQL injection at line 704

dbService->loadSingle() passes raw string to mysqli_query() with no escaping. The escape() method exists but is NOT called here.

→ Response delays ~3 seconds confirming SQL injection.

In tools/bazar/services/EntryManager.php line 704:

From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.1

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References