# CVE-2024-12871: Stored Cross-site Scripting (XSS) in infiniflow/ragflow

- Severity: Medium 5.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/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.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:07.129Z
- Modified: 2026-06-17T07:00:40.310Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

An XSS vulnerability in infiniflow/ragflow version 0.12.0 allows an attacker to upload a malicious PDF file to the knowledge base. When the file is viewed within Ragflow, the payload is executed in the context of the user's browser. This can lead to session hijacking, data exfiltration, or unauthorized actions performed on behalf of the victim, compromising sensitive user data and affecting the integrity of the entire application.

(As written by CVE List.)

## Affected

- infiniflow infiniflow/ragflow: from unspecified up to latest
- infiniflow ragflow: 0.12.0

## Every score

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

## References

- <https://huntr.com/bounties/7903945c-2839-4dd5-9d40-9ef47fe53118> (exploit)

## Sources

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

---

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