{"id":"CVE-2025-4779","state":"PUBLISHED","title":"Stored Cross-site Scripting (XSS) in lunary-ai/lunary","description":"lunary-ai/lunary versions prior to 1.9.24 are vulnerable to stored cross-site scripting (XSS). An unauthenticated attacker can inject malicious JavaScript into the `v1/runs/ingest` endpoint by adding an empty `citations` field, triggering a code path where `dangerouslySetInnerHTML` is used to render attacker-controlled text. This vulnerability allows the execution of arbitrary JavaScript in the context of the user's browser, potentially leading to session hijacking, data theft, or other malicious actions.","publishedAt":"2025-07-07T09:53:10.901Z","updatedAt":"2025-07-07T17:24:24.732Z","severity":{"score":9.1,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["lunary-ai lunary-ai/lunary"],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.9.24","versionType":"custom"}]}],"references":["https://huntr.com/bounties/c603b64e-5171-4eed-8983-a7f656ce2c4d","https://github.com/lunary-ai/lunary/commit/18750294a76ff6c0f3f1b6af4ac1a23399836b16"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/4xxx/CVE-2025-4779.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-4779","state":"PUBLISHED","datePublished":"2025-07-07T09:53:10.901Z","dateUpdated":"2025-07-07T17:24:24.732Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2025-05-15T14:03:54.703Z"},"containers":{"cna":{"title":"Stored Cross-site Scripting (XSS) in lunary-ai/lunary","descriptions":[{"lang":"en","value":"lunary-ai/lunary versions prior to 1.9.24 are vulnerable to stored cross-site scripting (XSS). An unauthenticated attacker can inject malicious JavaScript into the `v1/runs/ingest` endpoint by adding an empty `citations` field, triggering a code path where `dangerouslySetInnerHTML` is used to render attacker-controlled text. This vulnerability allows the execution of arbitrary JavaScript in the context of the user's browser, potentially leading to session hijacking, data theft, or other malicious actions."}],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.9.24","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/c603b64e-5171-4eed-8983-a7f656ce2c4d"},{"url":"https://github.com/lunary-ai/lunary/commit/18750294a76ff6c0f3f1b6af4ac1a23399836b16"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-07-07T09:53:10.901Z"},"source":{"advisory":"c603b64e-5171-4eed-8983-a7f656ce2c4d","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-07T17:23:49.466188Z","id":"CVE-2025-4779","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-07T17:24:24.732Z"}}]}}}