CVE-2025-51662: A stored cross-site scripting (XSS) vulnerability is found in the text sharing feature of FileCodeBox version
CVE-2025-51662 is a medium-severity flaw (CVSS 5.4) affecting filecodebox. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-11-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-51662?
filecodebox: upgrade to newer than 2.2. Exact commands for each OS are on this page.
Is CVE-2025-51662 being exploited?
CVE-2025-51662 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-51662 affect?
CVE-2025-51662 affects filecodebox. Severity is medium (CVSS 5.4). 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".
How urgent is CVE-2025-51662?
Priority 26/100. Public exploit reference
Related CVEs
- CVE-2025-51663 HIGH 7.5 UPGRADE A vulnerability found in IPRateLimit implementation of FileCodeBox up to 2.2 allows remote attackers to bypass
- CVE-2025-51661 HIGH 7.5 UPGRADE A path Traversal vulnerability found in FileCodeBox v2.2 and earlier allows arbitrary file writes when applica
- CVE-2024-34525 MEDIUM 5.3 DOWNGRADE FileCodeBox 2.0 stores a OneDrive password and AWS key in a cleartext env file.