CVE-2026-52763 YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitrary DB read
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| yeswiki(Packagist) | < 4.6.6; = 4.2.3; = v4.1.0; = v4.1.1 +28 more | 4.6.6 | Fixed |
| yeswiki | = < 4.6.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yeswiki(Packagist) | < 4.6.6 | 4.6.6 |
| yeswiki(Packagist) | = 4.2.3 | No fix listed |
| yeswiki(Packagist) | = v4.1.0 | No fix listed |
| yeswiki(Packagist) | = v4.1.1 | No fix listed |
| yeswiki(Packagist) | = v4.1.2 | No fix listed |
| yeswiki(Packagist) | = v4.1.3 | No fix listed |
| yeswiki(Packagist) | = v4.1.4 | No fix listed |
| yeswiki(Packagist) | = v4.1.5 | No fix listed |
| yeswiki(Packagist) | = v4.2.0 | No fix listed |
| yeswiki(Packagist) | = v4.2.1 | No fix listed |
| yeswiki(Packagist) | = v4.2.2 | No fix listed |
| yeswiki(Packagist) | = v4.2.4 | No fix listed |
| yeswiki(Packagist) | = v4.3 | No fix listed |
| yeswiki(Packagist) | = v4.3.1 | No fix listed |
| yeswiki(Packagist) | = v4.4.0 | No fix listed |
| yeswiki(Packagist) | = v4.4.1 | No fix listed |
| yeswiki(Packagist) | = v4.4.2 | No fix listed |
| yeswiki(Packagist) | = v4.4.3 | No fix listed |
| yeswiki(Packagist) | = v4.4.4 | No fix listed |
| yeswiki(Packagist) | = v4.4.5 | No fix listed |
| yeswiki(Packagist) | = v4.5.0 | No fix listed |
| yeswiki(Packagist) | = v4.5.1 | No fix listed |
| yeswiki(Packagist) | = v4.5.2 | No fix listed |
| yeswiki(Packagist) | = v4.5.3 | No fix listed |
| yeswiki(Packagist) | = v4.5.4 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| yeswiki(Packagist) | = v4.5.5 | No fix listed |
| yeswiki(Packagist) | = v4.6.0 | No fix listed |
| yeswiki(Packagist) | = v4.6.1 | No fix listed |
| yeswiki(Packagist) | = v4.6.2 | No fix listed |
| yeswiki(Packagist) | = v4.6.3 | No fix listed |
| yeswiki(Packagist) | = v4.6.4 | No fix listed |
| yeswiki(Packagist) | = v4.6.5 | No fix listed |
| yeswiki | = < 4.6.6 | No fix listed |
References
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-89v6-j5x6-cmj3 vendor-advisory
- github.com patch
- github.com product
- https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6
- github.com
- ENISA EUVD EUVD-2026-71798 third-party-advisory