CVE-2025-51663
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk39th percentile - higher than 39% of all known CVEs
Summary
A vulnerability in the IPRateLimit implementation of FileCodeBox up to 2.2 allows remote attackers to bypass IP-based rate limit protection and failed attempt restrictions by faking X-Real-IP and X-Forwarded-For HTTP headers. This can enable attackers to perform DoS attacks or brute force share codes.
Risk Assessment
An attacker can bypass protection mechanisms and conduct brute force or DoS attacks, potentially leading to unauthorized access to shared files or service unavailability.
Recommendation
Update FileCodeBox to a version with fixed IP header validation; until then, deploy external rate limiting at the proxy level.
Other vulnerabilities in FileCodeBox
See all- CVE-2026-82543High
A vulnerability was detected in vastsa FileCodeBox up to 2.3. The vulnerability affects the function update_file_usage in the file apps/base/views.py of the component Pickup Limit Handler. Performing a manipulation results in race condition. The attack can be initiated remotely. The exploit is public. Upgrading to version 2.5.0 resolves the issue.
- CVE-2026-64619High
FileCodeBox before version 2.4 has a rate-limit bypass vulnerability in the IPRateLimit class. An unauthenticated attacker can supply controlled X-Real-IP and X-Forwarded-For headers without trusted reverse proxy verification, allowing enumeration of share codes and retrieval of other users' files.
- CVE-2025-51662Medium
A stored cross-site scripting (XSS) vulnerability is found in the text sharing feature of FileCodeBox version 2.2 and earlier. Insufficient input validation allows attackers to inject arbitrary JavaScript code into shared text "codeboxes". The XSS payload is automatically executed in the browsers of users who access the infected codebox.
- CVE-2025-51661High
A path traversal vulnerability in FileCodeBox v2.2 and earlier allows arbitrary file writes when the application is configured to use local filesystem storage. The SystemFileStorage.save_file method in core/storage.py uses user-supplied filenames without validation to construct save_path, allowing remote attackers to write files outside the intended directory via crafted POST requests to the /share/file/ upload endpoint, which requires no authorization.
Original NVD description (English source)
A vulnerability found in IPRateLimit implementation of FileCodeBox up to 2.2 allows remote attackers to bypass ip-based rate limit protection and failed attempt restrictions by faking X-Real-IP and X-Forwarded-For HTTP headers. This can enable attackers to perform DoS attacks or brute force share codes.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

