# CVE-2025-4779: Stored Cross-site Scripting (XSS) in lunary-ai/lunary

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-07T09:53:10.901Z
- Modified: 2026-06-17T09:33:59.760Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

lunary-ai/lunary versions prior to 1.9.24 are vulnerable to stored cross-site scripting (XSS). An unauthenticated attacker can inject malicious JavaScript into the `v1/runs/ingest` endpoint by adding an empty `citations` field, triggering a code path where `dangerouslySetInnerHTML` is used to render attacker-controlled text. This vulnerability allows the execution of arbitrary JavaScript in the context of the user's browser, potentially leading to session hijacking, data theft, or other malicious actions.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.9.24
- lunary lunary: before 1.9.24

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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/c603b64e-5171-4eed-8983-a7f656ce2c4d> (exploit, patch, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/18750294a76ff6c0f3f1b6af4ac1a23399836b16> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-4779 · Whole record: https://cve.day/CVE-2025-4779.json · Rebuilt by cve.day 2026-11-25T22:59:00.718Z
