XSS in Lunary

CVE-2025-0281

A stored cross-site scripting (XSS) vulnerability exists in lunary-ai/lunary versions 1.6.7 and earlier. An attacker can inject malicious JavaScript into the SAML IdP XML metadata, which is used to generate the SAML login redirect URL. This URL is then set as the value of `window.location.href` without proper validation or sanitization. This vulnerability allows the attacker to execute arbitrary JavaScript in the context of the user's browser, potentially leading to session hijacking, data theft, or other malicious actions. The issue is fixed in version 1.7.10.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (28.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-0281?
CVE-2025-0281 is a medium-severity vulnerability in Lunary, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-20.
How severe is CVE-2025-0281?
Medium severity. CVSS v3 base score is 5.4 out of 10.