{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-3402","id":"CVE-2024-3402","title":"Stored XSS vulnerability in gaizhenbiao/chuanhuchatgpt","description":"A stored Cross-Site Scripting (XSS) vulnerability existed in version (20240121) of gaizhenbiao/chuanhuchatgpt due to inadequate sanitization and validation of model output data. Despite user-input validation efforts, the application fails to properly sanitize or validate the output from the model, allowing for the injection and execution of malicious JavaScript code within the context of a user's ","descriptionLong":"A stored Cross-Site Scripting (XSS) vulnerability existed in version (20240121) of gaizhenbiao/chuanhuchatgpt due to inadequate sanitization and validation of model output data. Despite user-input validation efforts, the application fails to properly sanitize or validate the output from the model, allowing for the injection and execution of malicious JavaScript code within the context of a user's browser. This vulnerability can lead to the execution of arbitrary JavaScript code in the context of other users' browsers, potentially resulting in the hijacking of victims' browsers.","published":"2024-06-06T18:24:03.274Z","updated":"2026-10-28T02:31:11.083156639Z","reserved":"2024-04-05T17:58:36.003Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["gaizhenbiao/chuanhuchatgpt"],"affectedProducts":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3402.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3402","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00462,"epssPercentile":0.40739,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-3402","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3402","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-3402","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-3402","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}