CVE-2025-51662: FileCodeBox - Stored XSS
- Cve: CVE-2025-51662
- Name: FileCodeBox - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary JavaScript in users' browsers, potentially stealing data or performing actions on behalf of the user.
- Remediation: Update to the latest version beyond 2.2.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must access the infected shared codebox via link or share code
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00183
- Epss percentile: 0.07755
- Assignee: [email protected]
- Published at: 2025-11-19T20:15:53Z
- Age in days: 370
- Modified at: 2026-11-05T13:10:00Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-51662
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/vastsa/FileCodeBox/issues/351 | nvd | 2025-11-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/vastsa/FileCodeBox/issues/351 | nvd | Exploit, Issue Tracking |
| https://github.com/vastsa/FileCodeBox | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lanol:filecodebox | <= 2.2 | no | nvd | /v1/products/lanol/filecodebox |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vastsa/FileCodeBox | issues | yes | /v1/repositories/vastsa/FileCodeBox |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-19
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts