All vulnerabilities

Servers and applications

CVE-2026-104452

CSRF: page attachment deletion/purge via GET in filemanager handler

Severity
Medium 5.4
Published
1 Sept 2026
Last changed
20 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site request forgery (CWE-352)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Also known as
GHSA-7m4h-m7qm-hc32
Sources
Project advisories (GitHub)

Description

The YesWiki file-manager handler (/filemanager, tools/attach/handlers/page/filemanager.php) deletes/erases/purges a page's attachments on a GET request with no CSRF token. An attacker who lures a logged-in owner or administrator to a crafted link can delete or permanently purge that page's attachments.

filemanager.php:11 gates on UserIsOwner() || UserIsAdmin() then calls attach::doFileManager() (attach.lib.php), which reads $_GET['do'] (del/erase/emptytrash) and $_GET['file']. There is no checkToken in the handler or doFileManager (verified: 0 occurrences on v4.6.6). Page handlers run on GET with no verb restriction, so a top-level GET navigation carries the SameSite=Lax owner/admin cookie and reaches fmDelete/fmErase/fmEmptyTrash → unlink.

Deletion (del, recoverable via trash) or permanent purge (erase/emptytrash) of a page's attachments. Impact is confined to the target page's own upload directory — the basename(realpath()) path-traversal fix from CVE-2025-24019 is present on…

From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References