Skip to content

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

MediumCVSS 6.1 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
lunary < 1.9.24 1.9.24 Fixed
lunary-ai/lunary < 1.9.24 1.9.24 Fixed

Affected products

ProductAffected versionsFixed in
lunary-ai/lunary < 1.9.24 1.9.24
lunary < 1.9.24 1.9.24

References