Home / lunary-ai / lunary-ai/lunary / CVE-2025-5352
CVE-2025-5352: is it exploited, and which versions of lunary-ai/lunary are affected and fixed?
CVE-2025-5352 is a cross-site scripting (XSS) vulnerability in lunary-ai/lunary. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: lunary-ai/lunary before 1.9.25 (CVE record by @huntr_ai). Fixed in 1.9.25 (CVE record by @huntr_ai). Severity: High (8.1, CVSS 3.0, from @huntr_ai).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 28, 2026, 17:54 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-5352?
Environment Variable XSS in Analytics Component in lunary-ai/lunary
A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component of lunary-ai/lunary versions up to 1.9.23, where the NEXT_PUBLIC_CUSTOM_SCRIPT environment variable is directly injected into the DOM using dangerouslySetInnerHTML without any 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. The issue is fixed in version 1.9.25.
From the CVE record by @huntr_ai, last updated August 25, 2025, 18:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lunary-ai | lunary-ai/lunary | before 1.9.25 | 1.9.25 |
As the CVE record by @huntr_ai states it, last updated August 25, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lunary | lunary | before 1.9.25 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:47 UTC.
How severe is CVE-2025-5352?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | @huntr_ai |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-5352 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 25, 2025)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://huntr.com/bounties/f1d3dbce-3c3e-480e-b81e-0e8afa05c491
- https://github.com/lunary-ai/lunary/commit/e2e43e88cecf742bacb639ab880507bbfdfd065c
When was it published, and where is the official record?
- Reserved
- May 30, 2025
- Published
- August 23, 2025, 06:56 UTC
- CVE record updated
- August 25, 2025, 18:15 UTC by @huntr_ai
- NVD
- Analyzed, last modified June 17, 2026, 09:47 UTC
- Last checked
- CVE list November 28, 2026, 17:54 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect lunary-ai/lunary?
- Feb 2, 2026CVE-2024-5386 lunary-ai/lunary: excessive Attack Surface
- Feb 2, 2026CVE-2024-4147 lunary-ai/lunary: insufficient Granularity of Access Control
- Nov 25, 2025CVE-2025-9803 lunary-ai/lunary: authentication bypass (improper authentication)
- Aug 18, 2025CVE-2025-4962 lunary-ai/lunary: improper access control
- Jul 7, 2025CVE-2025-4779 lunary-ai/lunary: cross-site scripting (XSS)
- Mar 20, 2025CVE-2024-11300 lunary-ai/lunary: authorization bypass through a user-controlled key (IDOR)
- Mar 20, 2025CVE-2024-10272 lunary-ai/lunary: missing authorization
- Mar 20, 2025CVE-2024-8998 lunary-ai/lunary: regular expression denial of service (ReDoS)
Questions about CVE-2025-5352
Is CVE-2025-5352 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of lunary-ai/lunary are affected by CVE-2025-5352?
lunary-ai/lunary before 1.9.25, per the CVE record by @huntr_ai. The tables above give every range the sources list.
Which version fixes CVE-2025-5352?
1.9.25, per the CVE record by @huntr_ai. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-5352?
High (8.1, CVSS 3.0, from @huntr_ai). The severity table above shows each score with its source.
Where is the official record of CVE-2025-5352?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.