CVE-2026-52763

Source
https://cve.org/CVERecord?id=CVE-2026-52763
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52763.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52763
Aliases
Published
2026-09-04T23:39:53.622Z
Modified
2026-09-06T03:46:13.666868772Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitrary DB read
Details

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 (defaultwriteacl='*'), 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.

Database specific
{
    "cwe_ids": [
        "CWE-1287",
        "CWE-89"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52763.json"
}
References

Affected packages

Git / github.com/yeswiki/yeswiki

Affected ranges

Type
GIT
Repo
https://github.com/yeswiki/yeswiki
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.6.6"
        }
    ]
}

Affected versions

v4.*
v4.1.0
v4.1.5
v4.2.0
v4.2.1
v4.2.2
v4.3.0
v4.3.1
v4.4.0
v4.4.1
v4.4.2
v4.4.3
v4.5.1
v4.5.2
v4.5.3
v4.5.4
v4.5.5
v4.6.0
v4.6.2
v4.6.3
v4.6.4
v4.6.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52763.json"