# CVE-2026-52773: YesWiki reflected XSS in archived-revision view

Source: https://junglewise.ai/threats/cve-2026-52773-yeswiki-reflected-xss-in-archived-revision-view  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-05. Updated: 2026-07-09  
License: CC BY 4.0 with a link back

CVE-2026-52773 · Severity: medium · CVSS 6.1 · Published 2026-09-05

YesWiki, a collaborative wiki platform, is vulnerable to a security flaw where malicious code can be injected into the page history view. An attacker can send a specially crafted link to a user; if clicked, the attacker can execute arbitrary commands in the user's browser, potentially leading to data theft or unauthorized actions. This risk is particularly high on sites where anonymous editing is enabled, as it can target any visitor.

Technologies: [yeswiki/yeswiki (Packagist)](https://junglewise.ai/threats/technologies/yeswiki-yeswiki), [YesWiki](https://junglewise.ai/threats/technologies/yeswiki). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist), [YesWiki](https://junglewise.ai/threats/vendors/yeswiki).

## Quick answers

**Is CVE-2026-52773 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-52773 being exploited in the wild.

**How severe is CVE-2026-52773?** Medium severity, with a CVSS score of 6.1, published 5 September 2026.

**Which products and versions are affected?** yeswiki/yeswiki (Packagist) >= 4.1.0, < 4.6.6, ECOSYSTEM:introduced=4.1.0,fixed=4.6.6; YesWiki >= 4.1.0, < 4.6.6.

**Is there a fix for CVE-2026-52773?** Yes. yeswiki/yeswiki (Packagist): upgrade to 4.6.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-52773 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-52773?** Check whether you run yeswiki/yeswiki (Packagist) or YesWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- yeswiki/yeswiki (Packagist): upgrade to 4.6.6 or later

  ```sh
  composer require yeswiki/yeswiki:^4.6.6
  ```


## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in YesWiki's `handlers/page/show.php` component. The application fails to sanitize the `time` GET parameter before reflecting it into a hidden HTML input field within the archived-revision edit form. While the parameter is used in a SQL query, MySQL's type coercion allows malformed DATETIME strings (containing XSS payloads) to successfully match valid revision timestamps. An attacker can exploit this by crafting a URL that includes a valid timestamp followed by a JavaScript payload. Execution requires the victim to have read and write access to the target page, though this is often available to anonymous users in default configurations. The issue is fixed in version 4.6.6.

## Affected products

- YesWiki YesWiki >= 4.1.0, < 4.6.6

## Identifiers

- CVE-2026-52773
- GHSA-35f3-pg38-486f

## Timeline

- 2026-06-02: disclosed
- 2026-06-02: patched: Commit 35ad9c2bb6cd338198b37c1f745e24bc302a3560
- 2026-07-09: advisory

## References

- [https://api.github.com/users/hash3liZer](https://api.github.com/users/hash3liZer)
- [https://github.com/hash3liZer](https://github.com/hash3liZer)
- [https://api.github.com/users/hash3liZer/gists%7B/gist_id%7D](https://api.github.com/users/hash3liZer/gists%7B/gist_id%7D)
- [https://api.github.com/users/hash3liZer/repos](https://api.github.com/users/hash3liZer/repos)
- [https://avatars.githubusercontent.com/u/29171692?v=4](https://avatars.githubusercontent.com/u/29171692?v=4)
- [https://api.github.com/users/hash3liZer/events%7B/privacy%7D](https://api.github.com/users/hash3liZer/events%7B/privacy%7D)

## Related threats

- [YesWiki SQL injection in despam.php INTERVAL operand](https://junglewise.ai/threats/cve-2026-116828-yeswiki-before-4-7-0-contains-a-sql-injection-vulnerability-in)
- [YesWiki server-side request forgery in Bazar CSV import](https://junglewise.ai/threats/cve-2026-116827-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki server-side request forgery in DuplicationManager](https://junglewise.ai/threats/cve-2026-116826-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki HTTP Signature replay protection missing in ActivityPub inbox](https://junglewise.ai/threats/cve-2026-116825-yeswiki-from-4-6-2-before-4-7-0-lacks-replay-protection-in)
- [YesWiki stored cross-site scripting in referrers_sites handler](https://junglewise.ai/threats/cve-2026-116824-yeswiki-before-4-7-0-contains-a-stored-cross-site-scripting)
