YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitrary DB read
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, the recentchanges action (actions/recentchanges.php) accepts a period argument from two disjoint parameter spaces. A whitelist validates only the URL form against ['day','week','month']. The action-argument form takes the else branch with no validation, and the value flows into PageManager::getRecentlyChanged(), where it is interpolated into a WHERE time >= '...' ORDER BY time DESC clause without escaping or parameterization. UNION-based injection succeeds, the leaked rows render into the response page, so any visitor of the trigger page sees the exfiltrated data. The vulnerability provides arbitrary read of the YesWiki database to anyone who can save the trigger page. On a default install (default_write_acl='*'), this includes anonymous users, subject to the hashcash JS check on the page-edit form. Once the trigger page is saved, every subsequent view fires the injection as the SQLi is stored. Stored SQL injection is reachable through the page-edit flow, with arbitrary database read. This issue has been patched in version 4.6.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| YesWiki | yeswiki | before 4.6.6 | 4.6.6 | Patch available | CNA |
| — | yeswiki/yeswiki (Packagist) | before 4.6.6 | 4.6.6 | Patch available | GHSA-89v6-j5x6-cmj3 |
- yeswiki VendorYesWiki Affected before 4.6.6 Fixed in 4.6.6 Patch available CNA
- yeswiki/yeswiki (Packagist) Vendor— Affected before 4.6.6 Fixed in 4.6.6 Patch available GHSA-89v6-j5x6-cmj3
Remediation
- Fix · CNA yeswiki (YesWiki) Fixed in 4.6.6
- Fix · GHSA-89v6-j5x6-cmj3 yeswiki/yeswiki (Packagist) Fixed in 4.6.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52763
- 2026-10-03 Alias added: GHSA-89v6-j5x6-cmj3
References
More YesWiki vulnerabilities
- TI-2026-37893 YesWiki has Unsafe eval() in Formula Calculator - Remote Code Execution (RCE) & Denial of Service (DoS) CVSS 3.1CRITICAL 9.8
- TI-2026-34305 YesWiki: Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
- TI-2025-29089 YesWiki Vulnerable to Unauthenticated Site Backup Creation and Download CVSS 3.1CRITICAL 10.0
- TI-2024-34399 Use of a Broken or Risky Cryptographic Algorithm in YesWiki CVSS 3.1CRITICAL 9.9
- TI-2026-37882 YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action CVSS 3.1CRITICAL 9.1
- TI-2026-80227 SQL injection in YesWiki Bazar entry creation via date_maj_fiche CVSS 4.0HIGH 8.8
Sources
- CVE-2026-52763 · CVE Program
- CVE-2026-52763 · NVD
- FIRST EPSS
- GHSA-89v6-j5x6-cmj3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences