# CVE-2024-9311: Cross-Site Request Forgery to XSS in haotian-liu/llava

- Severity: Medium 6.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:24.186Z
- Modified: 2026-06-17T08:24:20.030Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- haotian-liu haotian-liu/llava: from unspecified up to latest
- hliu large_language_and_vision_assistant: 1.2.0

## Every score

- @huntr_ai: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/15b18b85-5a6b-43e7-bc65-6b4772871e98> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-9311](https://www.cve.org/CVERecord?id=CVE-2024-9311), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-9311](https://nvd.nist.gov/vuln/detail/CVE-2024-9311), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9311 · Whole record: https://cve.day/CVE-2024-9311.json · Rebuilt by cve.day 2026-11-25T22:58:52.410Z
