All vulnerabilities

Servers and applications

CVE-2026-52773

Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php` in YesWiki

Severity
Medium 6.1
Published
2 Jun 2026
Last changed
8 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.6
Exploit chance
0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-80)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-35f3-pg38-486f
Sources
Project advisories (GitHub)

Description

YesWiki's archived-revision view reflects the time GET parameter into a hidden HTML input in handlers/page/show.php without escaping. Because MySQL coerces malformed DATETIME strings, an attacker can append HTML or JavaScript to a valid archived revision timestamp, still load that archived revision, and execute arbitrary JavaScript in the victim's browser.

The vulnerable form is only rendered when the victim can both read and edit the target page. In restricted deployments this requires a victim with read and write access to that page. On a default doryphore 4.6.5 install, public pages such as PagePrincipale were editable anonymously during validation, so the issue can also affect unauthenticated visitors in that configuration.

The request routing path uses the user-controlled time parameter to load a specific page revision. In includes/YesWiki.php around Run() line 1223, the request is routed through:

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.6

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