All vulnerabilities

Servers and applications

CVE-2026-104451

CSRF: page-revision restore (content overwrite) via GET in RevisionsHandler

Severity
Medium 4.3
Published
1 Sept 2026
Last changed
7 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.1% in the next 30 daysHigher than 2% 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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Also known as
GHSA-vj5g-974q-7ff3
Sources
Project advisories (GitHub)

Description

The YesWiki revisions handler (/revisions, handlers/RevisionsHandler.php) restores an arbitrary old page revision — overwriting the current page body — on a GET request with no CSRF token. An attacker who lures a victim holding write access (a lower bar than admin) to a crafted link can silently roll a page back.

RevisionsHandler::run calls denyAccessUnlessGranted('read') (:14), then if ($this->getRequest()->get('restoreRevisionId')) (:20; Symfony Request::get reads the query string for a GET), then if ($aclService->hasAccess('write')) (:21) → pageManager->save($page['tag'], $page['body'], …) (:23) overwrites the current body with the chosen revision. There is no checkToken (verified: 0 occurrences on v4.6.6). A top-level GET navigation carries the SameSite=Lax cookie of a write-capable victim.

Silent content rollback — revert legitimate edits or reintroduce stale/vandalized content on any page the victim can write.

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