{"id":"CVE-2025-9796","summary":"thinkgem JeeSite EncodeUtils.java decodeUrl2 cross site scripting","details":"A vulnerability was found in thinkgem JeeSite up to 5.12.1. This affects the function decodeUrl2 of the file common/src/main/java/com/jeesite/common/codec/EncodeUtils.java. The manipulation results in cross site scripting. It is possible to launch the attack remotely. The exploit has been made public and could be used. Upgrading to version 5.13.0 mitigates this issue. The patch is identified as 63773c97a56bdb3649510e83b66c16db4754965b. Upgrading the affected component is recommended.","modified":"2026-08-12T16:24:42.410876Z","published":"2025-09-01T21:32:08.508Z","database_specific":{"cwe_ids":["CWE-79","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9796.json","unresolved_ranges":[{"extracted_events":[{"introduced":"5.12.0"},{"last_affected":"5.12.0"},{"introduced":"5.12.1"},{"last_affected":"5.12.1"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulDB"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9796.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9796"},{"type":"ADVISORY","url":"https://vuldb.com/?id.322111"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.641125"},{"type":"REPORT","url":"https://github.com/thinkgem/jeesite5/issues/33"},{"type":"REPORT","url":"https://github.com/thinkgem/jeesite5/issues/33#issue-3330107533"},{"type":"REPORT","url":"https://github.com/thinkgem/jeesite5/issues/33#issuecomment-3197374560"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.322111"},{"type":"FIX","url":"https://github.com/thinkgem/jeesite5/commit/63773c97a56bdb3649510e83b66c16db4754965b"},{"type":"FIX","url":"https://github.com/thinkgem/jeesite5/releases/tag/v5.13.0.springboo3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thinkgem/jeesite","events":[{"introduced":"0"},{"fixed":"18e5ea548c623ba63265e20a41da01728ec495ec"}],"database_specific":{"cpe":"cpe:2.3:a:jeesite:jeesite:*:*:*:*:-:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.13.0"}],"source":"CPE_RANGE"}}],"versions":["v5.12.1.vue","v5.12.0.vue","v5.9.1","v5.9.0","v5.8.1","v5.8.0","v5.7.1","v5.7.0","v5.6.0","v5.5.2","v5.5.1","v5.5.0","v5.4.0","v5.3.2","v5.3.1","v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.0","v5.0.4","v5.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9796.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/thinkgem/jeesite5","events":[{"introduced":"0"},{"fixed":"63773c97a56bdb3649510e83b66c16db4754965b"},{"fixed":"73c52bbd1f86dab57083650c7a35cbb04954fb30"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v5.12.1.springboo3","v5.12.0.springboo3","v5.11.1.springboo3","v5.11.0.springboo3","v5.10.1.springboo3","v5.10.0.springboot3","v5.9.2.springboot3","v5.9.1.springboot3","v5.4.0","v5.3.2","v5.3.0","v5.2.1","v5.2.0","v5.1.0","v5.0.2","v5.0.1","v5.0.0.1","v5.0.0","v4.3.0.2","v4.3.0","v4.2.3.2","v4.2.3.1","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.9","v4.1.8.2","v4.1.8.1","v4.1.8","v4.1.4","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9796.json","vanir_signatures_modified":"2026-08-12T16:24:42Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/thinkgem/jeesite5/commit/63773c97a56bdb3649510e83b66c16db4754965b","target":{"function":"main","file":"common/src/test/java/com/jeesite/test/codec/EncodeUtilsTest.java"},"deprecated":false,"digest":{"length":2787,"function_hash":"113870966641587280007482763233031363271"},"id":"CVE-2025-9796-014ccdff","signature_type":"Function"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/thinkgem/jeesite5/commit/63773c97a56bdb3649510e83b66c16db4754965b","target":{"file":"common/src/main/java/com/jeesite/common/codec/EncodeUtils.java"},"deprecated":false,"digest":{"line_hashes":["18670234902375744585066105999701082970","140576376356235444879226643059430008416","226732589254355552802202599867960218502","71231158979486450470282274458386414914"],"threshold":0.9},"id":"CVE-2025-9796-15998e41"},{"deprecated":false,"digest":{"line_hashes":["248868870233761081674076203444977268718","20764808413179010707916124788926573678","14598931539656000117735059650924205636","47088028717140871837376167593144524440"],"threshold":0.9},"id":"CVE-2025-9796-4aec5c9a","signature_type":"Line","signature_version":"v1","source":"https://github.com/thinkgem/jeesite5/commit/63773c97a56bdb3649510e83b66c16db4754965b","target":{"file":"common/src/test/java/com/jeesite/test/codec/EncodeUtilsTest.java"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}