Description
YesWiki is a wiki system written in PHP. From version 4.1.0 to before version 4.6.6, 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. This issue has been patched in version 4.6.6.
Published: 2026-09-04
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows a reflected cross‑site scripting exploit by inserting malicious HTML or JavaScript into the ‘time’ GET parameter of the archived‑revision view. Because MySQL coerces malformed DATETIME strings, an attacker can append payloads to a valid timestamp, cause the page to load that archived revision, and execute arbitrary script in the context of any visitor who has both read and edit access to the page. The attack can also reach unauthenticated users on installations that permit anonymous editing of public pages, thereby enabling the exploitation in broader environments.

Affected Systems

YesWiki versions from 4.1.0 up to but not including 4.6.6 are affected. The vulnerability exists in the default ‘handlers/page/show.php’ of those releases. Administrators of SayWiki installations—particularly those with the default doryphore 4.6.5 configuration that allows anonymous edits of pages such as PagePrincipale—must verify their version and apply any necessary updates.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate risk level. EPSS is not available, so the projected exploitation probability is unknown, and the issue is not listed in CISA’s KEV catalog, implying no widely known exploits so far. Nevertheless, the attacker only needs to craft a timestamp and the victim must be able to view and edit the target page, a condition that can be satisfied in many typical deployments. Given these prerequisites, the vulnerability poses a tangible threat when the attack surface is open.

Generated by OpenCVE AI on September 5, 2026 at 00:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update YesWiki to version 4.6.6 or later to apply the official fix.
  • If an upgrade is currently infeasible, immediately block write permissions for all non‑administrator users and disable the archived‑revision view for public content.
  • Deploy a Content Security Policy that disallows inline script execution and restricts script sources to trusted hosts.
  • Regularly review and tighten ACL configurations to prevent anonymous or unauthorized editing of public pages.

Generated by OpenCVE AI on September 5, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-35f3-pg38-486f YesWiki Vulnerable to Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php`
History

Fri, 04 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. From version 4.1.0 to before version 4.6.6, 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. This issue has been patched in version 4.6.6.
Title Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php` in YesWiki
Weaknesses CWE-80
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T23:44:39.596Z

Reserved: 2026-06-08T17:13:43.064Z

Link: CVE-2026-52773

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T00:17:20.243

Modified: 2026-09-05T00:17:20.243

Link: CVE-2026-52773

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T00:30:18Z

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)