CVE-2025-7865 thinkgem JeeSite XSS Filter EncodeUtils.java xssFilter cross site scripting
Remote attackers can execute arbitrary scripts via the XSS filter in JeeSite, potentially compromising user sessions or data.
- 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-7865?
CVE-2025-7865 is a medium-severity cross-site scripting vulnerability in thinkgem JeeSite, published on 20 Jul 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 vulnerability was found in thinkgem JeeSite up to 5.12.0. It has been declared as problematic. This vulnerability affects the function xssFilter of the file src/main/java/com/jeesite/common/codec/EncodeUtils.java of the component XSS Filter. The manipulation of the argument text leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 3585737d21fe490ff6948d913fcbd8d99c41fc08. It is recommended to apply a patch to fix this issue.
Which versions are affected by CVE-2025-7865?
It affects 1 product.
Products include Jeesite Jeesite.
How do I fix CVE-2025-7865?
No fix has been published for CVE-2025-7865 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-7865 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7865 exists.
Other vulnerabilities in thinkgem JeeSite
Sources
Also known as GHSA-g822-656r-fggc.