CVE-2025-7865

Source
https://cve.org/CVERecord?id=CVE-2025-7865
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7865.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-7865
Published
2025-07-20T03:02:06.375Z
Modified
2026-07-21T23:41:09.477852Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
thinkgem JeeSite XSS Filter EncodeUtils.java xssFilter cross site scripting
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7865.json",
    "cna_assigner": "VulDB",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "5.10"
                },
                {
                    "last_affected": "5.10"
                },
                {
                    "introduced": "5.11"
                },
                {
                    "last_affected": "5.11"
                },
                {
                    "introduced": "5.12.0"
                },
                {
                    "last_affected": "5.12.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/thinkgem/jeesite

Affected ranges

Type
GIT
Repo
https://github.com/thinkgem/jeesite
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "cpe": "cpe:2.3:a:jeesite:jeesite:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.12.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/thinkgem/jeesite5
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "5.0"
        },
        {
            "last_affected": "5.0"
        },
        {
            "introduced": "5.1"
        },
        {
            "last_affected": "5.1"
        },
        {
            "introduced": "5.2"
        },
        {
            "last_affected": "5.2"
        },
        {
            "introduced": "5.3"
        },
        {
            "last_affected": "5.3"
        },
        {
            "introduced": "5.4"
        },
        {
            "last_affected": "5.4"
        },
        {
            "introduced": "5.5"
        },
        {
            "last_affected": "5.5"
        },
        {
            "introduced": "5.6"
        },
        {
            "last_affected": "5.6"
        },
        {
            "introduced": "5.7"
        },
        {
            "last_affected": "5.7"
        },
        {
            "introduced": "5.8"
        },
        {
            "last_affected": "5.8"
        },
        {
            "introduced": "5.9"
        },
        {
            "last_affected": "5.9"
        }
    ]
}

Affected versions

5.*
5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
v5.*
v5.0.0
v5.0.0.1
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.1.0
v5.10.0.springboot3
v5.10.1.springboo3
v5.11.0.springboo3
v5.11.1.springboo3
v5.12.0.springboo3
v5.12.0.vue
v5.2.0
v5.2.1
v5.2.2
v5.3.0
v5.3.1
v5.3.2
v5.4.0
v5.5.0
v5.5.1
v5.5.2
v5.6.0
v5.7.0
v5.7.1
v5.8.0
v5.8.1
v5.9.0
v5.9.1
v5.9.1.springboot3
v5.9.2.springboot3

Database specific

vanir_signatures_modified
"2026-07-21T23:41:09Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "common/src/test/java/com/jeesite/test/codec/EncodeUtilsTest.java"
        },
        "deprecated": false,
        "source": "https://github.com/thinkgem/jeesite5/commit/3585737d21fe490ff6948d913fcbd8d99c41fc08",
        "id": "CVE-2025-7865-19e035d9",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "241989943472768683314586128908225273903",
                "149489220394225014978855575702157730239",
                "179622916099826689265776724692605855962",
                "288900956835368455450134093614049238159",
                "299546520859880494344318158684224530509",
                "51347088489505154742826988304578999648",
                "290517988987259402545228750687015323312",
                "288703041537910496659359321103654158909",
                "23967616208374119495887708471187206749",
                "286279972174570209427080225523563136955",
                "217943920223534221271068183730496100115",
                "248871320011893251274022376493073993790",
                "330983712602585453968107632566496324389",
                "222802299120601114139020302214614908826",
                "210560381570499459337072600259830553567",
                "266791444599844889562839805311719729980",
                "94023364322555776142773219748367861473",
                "156195478251057118249440027891807764701",
                "327469038203108564414684751481639054763",
                "251635235219299523100999556267549079182",
                "157668419006944688626038965730425105668",
                "261167840647540292835149960906423500210",
                "18328013884261927084124147847666818224",
                "38976876792977973308906727155702151946",
                "302169975737532133947064485423270842393",
                "235075867460382682757924068583259039615",
                "277174943573020508531374644763658854512",
                "81721049033289732796040626323615544265",
                "292207743392704153029929677243968641746",
                "181460993830192581180487545699566777896",
                "26596726663821680829155700164406748989",
                "58249707093083774687237989500646489832",
                "33240807574261382001935940431014988921"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "common/src/main/java/com/jeesite/common/codec/EncodeUtils.java"
        },
        "deprecated": false,
        "source": "https://github.com/thinkgem/jeesite5/commit/3585737d21fe490ff6948d913fcbd8d99c41fc08",
        "id": "CVE-2025-7865-29ee259c",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "177485928619821022511948781053094846858",
                "185975085118491526123660578194007812501",
                "277945111815014043841698570543593225903",
                "267772397607222657853423109493088497017"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "common/src/test/java/com/jeesite/test/codec/EncodeUtilsTest.java",
            "function": "main"
        },
        "deprecated": false,
        "source": "https://github.com/thinkgem/jeesite5/commit/3585737d21fe490ff6948d913fcbd8d99c41fc08",
        "id": "CVE-2025-7865-651434ad",
        "signature_version": "v1",
        "digest": {
            "function_hash": "327511496877213566562467200940784426822",
            "length": 2905.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7865.json"