Home / lunary-ai / lunary-ai/lunary / CVE-2024-5478
CVE-2024-5478: is it exploited, and which versions of lunary-ai/lunary are affected and fixed?
CVE-2024-5478 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, 12:08 UTC). Affected: lunary-ai/lunary through latest (CVE record by @huntr_ai). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.4, CVSS 3.0, from @huntr_ai).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 18:36 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-5478?
Cross-site Scripting (XSS) in SAML metadata endpoint in lunary-ai/lunary
A Cross-site Scripting (XSS) vulnerability exists in the SAML metadata endpoint `/auth/saml/${org?.id}/metadata` of lunary-ai/lunary version 1.2.7. The vulnerability arises due to the application's failure to escape or validate the `orgId` parameter supplied by the user before incorporating it into the generated response. Specifically, the endpoint generates XML responses for SAML metadata, where the `orgId` parameter is directly embedded into the XML structure without proper sanitization or validation. This flaw allows an attacker to inject arbitrary JavaScript code into the generated SAML metadata page, leading to potential theft of user cookies or authentication tokens.
From the CVE record by @huntr_ai, last updated August 1, 2024, 21:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lunary-ai | lunary-ai/lunary | through latest |
As the CVE record by @huntr_ai states it, last updated August 1, 2024. 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 | 1.2.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:16 UTC.
How severe is CVE-2024-5478?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N | @huntr_ai |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | 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-2024-5478 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 7, 2024)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.2 (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?
When was it published, and where is the official record?
- Reserved
- May 29, 2024
- Published
- June 6, 2024, 18:20 UTC
- CVE record updated
- August 1, 2024, 21:11 UTC by @huntr_ai
- NVD
- Modified, last modified June 17, 2026, 08:16 UTC
- Last checked
- CVE list November 28, 2026, 18:36 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 12: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 23, 2025CVE-2025-5352 lunary-ai/lunary: cross-site scripting (XSS)
- 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
Questions about CVE-2024-5478
Is CVE-2024-5478 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of lunary-ai/lunary are affected by CVE-2024-5478?
lunary-ai/lunary through latest, per the CVE record by @huntr_ai. The tables above give every range the sources list.
Which version fixes CVE-2024-5478?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-5478?
High (7.4, CVSS 3.0, from @huntr_ai). The severity table above shows each score with its source.
Where is the official record of CVE-2024-5478?
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.