CVE-2025-51662 Cross-site scripting in n/a
Attackers can inject arbitrary JavaScript into shared text codeboxes, executing code in victims' browsers via stored XSS in FileCodeBox.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-51662?
CVE-2025-51662 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 Nov 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-51662?
It affects 1 product.
Products include Lanol Filecodebox.
How do I fix CVE-2025-51662?
No fix has been published for CVE-2025-51662 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-51662 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51662 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9fxq-7j6c-gx45.