SecurityContext

CVE-2024-3402: gaizhenbiao/chuanhuchatgpt - Stored XSS

  • Cve: CVE-2024-3402
  • Name: gaizhenbiao/chuanhuchatgpt - Stored XSS
  • 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 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.
  • Impact: Attackers can execute arbitrary JavaScript in users' browsers, potentially hijacking sessions or stealing sensitive information.
  • Remediation: Implement proper sanitization and validation of model output data before rendering.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to inject malicious output
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00462
  • Epss percentile: 0.40862
  • Assignee: [email protected]
  • Published at: 2024-06-06T19:16:01Z
  • Age in days: 901
  • Modified at: 2026-06-17T07:44:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-3402
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1nvd2024-06-06

References

UrlSourceTags
https://huntr.com/bounties/389570c4-0bf2-4bc3-84f5-2e7afdba8ed1nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gaizhenbiao:chuanhuchatgpt< 20240918nonvd/v1/products/gaizhenbiao/chuanhuchatgpt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-06
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts