Read the docs
TI-2026-37881 Aliases CVE-2026-52763GHSA-89v6-j5x6-cmj3

YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitrary DB read

Priority LOW 29CWE-1287Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00379 32nd percentileScored 2026-11-07
Fix Fixed yeswiki (YesWiki): 4.6.6yeswiki/yeswiki (Packagist): 4.6.6

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

VendorProductAffected versionsFixed inStatusSource
YesWikiyeswikibefore 4.6.64.6.6Patch availableCNA
—yeswiki/yeswiki (Packagist)before 4.6.64.6.6Patch availableGHSA-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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*——YesWiki
  • cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:* Versions — — ·YesWiki

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

  1. 2026-10-02 Threatist record created from CVE-2026-52763
  2. 2026-10-03 Alias added: GHSA-89v6-j5x6-cmj3

References

  • 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
See all 85 →

Sources