CVE-2025-4779CWE-79

Stored Cross-site Scripting (XSS) in lunary-ai/lunary

Critical · published July 7, 2025

CVSS v3.0
9.1
EPSS
0%
Percentile
40.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00481 · 40.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-07-07T09:53Z
EPSS history
Timeline
  • 07 JUL 09:53Z
    Stored Cross-site Scripting (XSS) in lunary-ai/lunary
    cvelistv5