CVE-2026-104456

YesWiki before 4.6.7 Second-Order SQL Injection via ACL Username

Published Oct 2, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
YesWiki before 4.6.7 contains a second-order SQL injection vulnerability in AclService::updateRequestWithACL, where a stored username is concatenated unescaped into a read-ACL LIKE clause. Attackers can self-register an account name containing a double-quote payload, then load non-admin ACL-filtered listings to read database contents and bypass read ACLs.

Analysis

AI-generated

Technical impact

YesWiki versions prior to 4.6.7 are vulnerable to a second-order SQL injection that occurs when a stored username is concatenated into a LIKE clause without proper escaping in the AclService::updateRequestWithACL function. An attacker can craft a username containing a double‑quote payload, register an account, and then view ACL‑filtered content. The injected string is later used to evaluate database queries, allowing the attacker to read arbitrary database records and bypass read‑ACL restrictions. The vulnerability is a classic injection flaw (CWE‑89) that can expose sensitive data.

Affected Systems

The flaw affects all YesWiki installations running version 4.6.7 or earlier. No specific sub‑version ranges are listed, so any deployment where the core code matches the affected versions is at risk until the vendor releases a patch or upgrade.

Risk and Exploitability

The CVSS score of 7.2 reflects a high‑impact vulnerability that can be exploited remotely through the web interface, as an attacker can self‑register and inject malicious input. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread documented exploitation yet. Nevertheless, the attack vector is remote, and the payload is trivial to supply, so the risk remains significant for exposed installations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to YesWiki 4.6.7 or later, which removes the second‑order injection point.
  • If a patch cannot be applied immediately, temporarily disable self‑registration or enforce strict validation on the username field to reject double‑quote characters and other SQL special symbols.
  • Review and tighten ACL configurations to ensure that read permissions cannot be bypassed, and consider applying a web application firewall rule that blocks payloads containing unmatched quotes in username fields.

Generated by OpenCVE AI on October 2, 2026 at 12:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description YesWiki before 4.6.7 contains a second-order SQL injection vulnerability in AclService::updateRequestWithACL, where a stored username is concatenated unescaped into a read-ACL LIKE clause. Attackers can self-register an account name containing a double-quote payload, then load non-admin ACL-filtered listings to read database contents and bypass read ACLs.
Title YesWiki before 4.6.7 Second-Order SQL Injection via ACL Username
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-89
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 2, 2026, 2:04 PM
Reserved
Oct 2, 2026, 12:53 AM
Status
Deferred
Published
Oct 2, 2026, 12:17 PM
Modified
Oct 2, 2026, 3:17 PM