Error311 FileRise
FileRise vulnerable to Cross-Site Scripting (XSS) in SVG File Handling
FileRise is a self-hosted web file manager / WebDAV server. Versions prior to 2.7.1 are vulnerable to Stored Cross-Site Scripting (XSS) due to unsafe handling of browser-renderable user uploads when served through the sharing and download endpoints. An attacker who can get a crafted SVG (primary) or HTML (secondary) file stored in a FileRise instance can cause JavaScript execution when a victim opens a generated share link (and in some cases via the direct download endpoint). This impacts share links (`/api/file/share.php`) and direct file access / download path (`/api/file/download.php`), depending on browser/content-type behavior. Version 2.7.1 fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.7.1
Fixed in 2.7.1
Mitigation
Upgrade FileRise to 2.7.1 or later.
References
- Vendor advisory github.com/error311/FileRise/security/advisori…
Timeline
Days relative to CVE publicationFirst public PoC 15 h before publication; not in CISA KEV. First PoC: x0root/CVE-2025-68116 (created 16 Dec 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| x0root/CVE-2025-68116 | 16 Dec 2025 −15 h | 0 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/file/share.php
- Query
token=437d7913884ace4b94fab8ce745a686atoken=fc911e48b0a30e9417a9020ef959784d- Ports
- 8080
- Seen in
- 1 repo: x0root/CVE-2025-68116
- Evidence
- x0root/CVE-2025-68116/README.md:169 x0root/CVE-2025-68116/README.md:181 x0root/CVE-2025-68116/README.md:225 x0root/CVE-2025-68116/README.md:302 x0root/CVE-2025-68116/README.md:326
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/file/share\.php\?(?:.*&)?token=437d7913884ace4b94fab8ce745a686a.*token=fc911e48b0a30e9417a9020ef959784d
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-68116 error311 FileRise exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/file/share.php"; http.uri; content:"token=437d7913884ace4b94fab8ce745a686a"; http.uri; content:"token=fc911e48b0a30e9417a9020ef959784d"; reference:url,poc.griffinguard.io/cve/CVE-2025-68116; classtype:web-application-attack; sid:9646010; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: error311 FileRise exploit attempt (CVE-2025-68116)
id: gg-pocmon-cve-2025-68116-9646010
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68116. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-68116
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/file/share.php'
cs-uri-query|contains|all:
- 'token=437d7913884ace4b94fab8ce745a686a'
- 'token=fc911e48b0a30e9417a9020ef959784d'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.68116