Skip to main content
VulnerabilityPublished Updated

CVE-2024-9311: haotian-liu/llava · Cross-Site Request Forgery (CSRF)

Affects haotian-liu/llavaSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubhaotian-liu/llavapkg:github/haotian-liu/llavaOther threatsAffected
  • =1.2.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Implement CSRF protections such as anti-CSRF tokens on all state-changing endpoints, especially file upload functionality.
  2. Restrict file upload permissions and validate file types and contents rigorously to prevent malicious scripts.
  3. Use unpredictable, randomized file storage paths or filenames to reduce the risk of attackers guessing URLs.
  4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers.
  5. Educate users to avoid clicking on suspicious links and implement email filtering to reduce phishing risks.
  6. Monitor web server logs for unusual file uploads or access patterns indicating exploitation attempts.
  7. Apply the latest patches or updates from the vendor once available.
  8. If immediate patching is not possible, consider isolating the vulnerable service or restricting access to trusted networks.
  9. Conduct regular security assessments and penetration testing focusing on CSRF and file upload vectors.
  10. Implement multi-factor authentication to reduce the impact of session hijacking if it occurs.

Description

A Cross-Site Request Forgery (CSRF) vulnerability in haotian-liu/llava v1.2.0 (LLaVA-1.6) allows an attacker to upload files with malicious content without authentication or user interaction. The uploaded file is stored in a predictable path, enabling the attacker to execute arbitrary JavaScript code in the context of the victim's browser by visiting the crafted file URL. This can lead to theft of sensitive information, session hijacking, or other actions compromising the security and privacy of the victim.

References

Community reviews

Loading reviews…