CVE-2025-51662: FileCodeBox · Cross-site Scripting
Affects FileCodeBoxSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubvastsa/FileCodeBoxpkg:github/vastsa/FileCodeBoxOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor FileCodeBox vendor communications closely and apply security patches immediately upon release to address this vulnerability.
- Until patches are available, restrict or disable the text sharing feature or limit its use to trusted users only.
- Implement strict input validation and sanitization on all user-supplied data within the application to prevent injection of malicious scripts.
- Deploy Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers accessing the application.
- Educate users on the risks of clicking untrusted links or entering share codes from unknown sources.
- Conduct regular security assessments and penetration testing focused on web application vulnerabilities, including XSS.
- Use web application firewalls (WAFs) configured to detect and block common XSS attack patterns targeting FileCodeBox endpoints.
- Review and limit user privileges within FileCodeBox to minimize the impact of compromised accounts.
- Log and monitor access to shared codeboxes for unusual activity that may indicate exploitation attempts.
Description
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 any users who try to access the infected codebox by clicking link or entering share code.