{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-52771","published":"2026-09-05T00:17:19.963000Z","last_modified":"2026-09-08T21:05:26.920000Z","status":"Deferred","cvss":{"version":"3.1","score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-89"],"cpes":[],"cpes_truncated":false,"vendors":["yeswiki"],"products":["yeswiki/yeswiki"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8f2v-2qhj-gfwg","ecosystem":"Packagist","name":"yeswiki/yeswiki","purl":"pkg:composer/yeswiki/yeswiki","ranges":[{"introduced":"4.2.0","fixed":"4.6.6"}],"versions":["4.2.3","v4.2.0","v4.2.1","v4.2.2","v4.2.4","v4.3","v4.3.1","v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.5.0","v4.5.1","v4.5.2","v4.5.3","v4.5.4","v4.5.5","v4.6.0","v4.6.1","v4.6.2","v4.6.3","v4.6.4","v4.6.5"],"versions_truncated":false}],"severity":"high","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-52771/","html_en":"/en/cve/CVE-2026-52771/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52771","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52771"},"untrusted":{"vendor_name":"YesWiki","product_name":"yeswiki","desc_en":"YesWiki is a wiki system written in PHP. From version 4.2.0 to before version 4.6.6, ApiController::deletePage() interpolates a page tag retrieved from the database into a DELETE FROM …_links WHERE to_tag = '$tag' query without escaping. The page tag is attacker-controlled — the POST /api/pages/{tag} API accepts arbitrary URL-encoded values, including single quotes, and stores them. A low-privilege authenticated user can therefore create a page whose tag is a SQL fragment, make the page non-orphaned via the standard {{include page=\"…\"}} link mechanism, and then invoke the delete endpoint to execute arbitrary SQL inside the wiki database - including time-based blind data exfiltration from any table. This issue has been patched in version 4.6.6.","affected":[{"untrusted_vendor":"YesWiki","untrusted_product":"yeswiki","versions":[]}],"references":[{"url":"https://github.com/YesWiki/yeswiki/commit/23d3cc124613b9428ab963b31807c08879a9c631","tags":[]},{"url":"https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6","tags":[]},{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-8f2v-2qhj-gfwg","tags":[]}]}}