# CVE-2025-0281: Stored Cross-Site Scripting (XSS) in lunary-ai/lunary

- Severity: High 7.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/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.39%, higher than 35% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:44.872Z
- Modified: 2026-06-17T08:26:12.390Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- @huntr_ai: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/b3f4a655-5b08-4fef-be2c-aac8703ad5d0> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/fa0fd7742ae029ed934690d282519263f5d838de> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-0281 · Whole record: https://cve.day/CVE-2025-0281.json · Rebuilt by cve.day 2026-11-25T22:58:55.377Z
