CVE-2026-46670

YesWiki: Unauthenticated SQL Injection

Published Aug 11, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.0% KEV · Not listed
Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.4, an unauthenticated SQL injection in the Bazar form-import path (`FormManager::create()`) allows any unauthenticated visitor of a default YesWiki install to inject arbitrary SQL into an `INSERT` statement and read the full database, including `yeswiki_users.password` hashes. Version 4.6.4 fixes the issue.

Analysis

AI-generated

Technical impact

The flaw is an unauthenticated SQL injection located in the Bazar form‑import route of YesWiki’s FormManager::create() method. Prior to version 4.6.4, attackers can supply malicious input that is incorporated unvalidated into an INSERT statement, allowing them to execute arbitrary SQL and extract the full contents of the database, including the passwords stored in yeswiki_users.password.

Affected Systems

YesWiki installations running any version earlier than 4.6.4 are susceptible. The vulnerability exists in the default YesWiki distribution and can be triggered from a public web request without authentication.

Risk and Exploitability

The vulnerability receives a CVSS score of 9.8, indicating critical severity. The EPSS score is 2%, and the flaw is not in the CISA KEV catalog, but its easy exploitation path and high impact make it a high‑risk target. An attacker only needs to send a crafted HTTP request to the form‑import endpoint; no user credentials or privileged access are required. Successful exploitation yields full read access to the database and sensitive credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.6.4 or later.
  • If upgrade is not immediately possible, disable or restrict the form‑import functionality in the Bazar module so that only authenticated users can access it, or apply a WAF rule to block SQL injection patterns targeting this endpoint.
  • Maintain regular database backups and monitor logs for abnormal SQL queries or attempted injection attempts.

Generated by OpenCVE AI on August 13, 2026 at 02:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jwvv-qr7q-cv8j YesWiki: Unauthenticated SQL Injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Yeswiki
Yeswiki yeswiki
Vendors & Products Yeswiki
Yeswiki yeswiki
Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. Prior to version 4.6.4, an unauthenticated SQL injection in the Bazar form-import path (`FormManager::create()`) allows any unauthenticated visitor of a default YesWiki install to inject arbitrary SQL into an `INSERT` statement and read the full database, including `yeswiki_users.password` hashes. Version 4.6.4 fixes the issue.
Title YesWiki: Unauthenticated SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 2:08 PM
Reserved
May 15, 2026, 9:46 PM
Status
Deferred
Published
Aug 11, 2026, 2:17 PM
Modified
Sep 9, 2026, 8:46 PM