PT-2025-34524 · Lunary Ai · Lunary
Published
2025-08-23
·
Updated
2025-08-23
·
CVE-2025-5352
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
lunary-ai/lunary versions up to 1.9.23
Description:
A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component. The
NEXT PUBLIC CUSTOM SCRIPT environment variable is directly injected into the DOM using dangerouslySetInnerHTML without sanitization or validation. This allows arbitrary JavaScript execution in all users' browsers if an attacker can control the environment variable during deployment or through server compromise. The vulnerability can lead to complete account takeover, data exfiltration, malware distribution, and persistent attacks affecting all users until the environment variable is cleaned.Recommendations:
lunary-ai/lunary versions prior to 1.9.25: Update to version 1.9.25 or later to address the issue.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Lunary