# CVE-2025-7865: thinkgem JeeSite XSS Filter EncodeUtils.java xssFilter cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-20T03:02:06.375Z
- Modified: 2026-06-17T10:05:49.397Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- thinkgem JeeSite: 5.0; 5.1; 5.2; 5.3; 5.4; 5.5; 5.6; 5.7; 5.8; 5.9; 5.10; 5.11; and 1 more
- jeesite jeesite: up to 5.12.0

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/thinkgem/jeesite5/issues/32> (exploit, issue-tracking)
- <https://vuldb.com/?id.316978> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.316978> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.618190> (third-party-advisory, vdb-entry)
- <https://github.com/thinkgem/jeesite5/issues/32#issuecomment-3051177029> (issue-tracking)
- <https://github.com/thinkgem/jeesite5/commit/3585737d21fe490ff6948d913fcbd8d99c41fc08> (patch)

## Sources

- CVE List: [CVE-2025-7865](https://www.cve.org/CVERecord?id=CVE-2025-7865), CVE Terms of Use, modified 2025-07-21
- NVD: [CVE-2025-7865](https://nvd.nist.gov/vuln/detail/CVE-2025-7865), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7865 · Whole record: https://cve.day/CVE-2025-7865.json · Rebuilt by cve.day 2026-11-25T22:59:01.456Z
