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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*

History

28 Mar 2025, 14:22

Type Values Removed Values Added
CPE cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*
Summary
  • (es) Existe una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en las versiones 1.6.7 y anteriores de lunary-ai/lunary. Un atacante puede inyectar JavaScript malicioso en los metadatos XML del IdP SAML, que se utilizan para generar la URL de redirección de inicio de sesión SAML. Esta URL se configura con el valor `window.location.href` sin la validación ni la depuración adecuada. Esta vulnerabilidad permite al atacante ejecutar JavaScript arbitrario en el navegador del usuario, lo que podría provocar el secuestro de sesión, el robo de datos u otras acciones maliciosas. El problema se solucionó en la versión 1.7.10.
CVSS v2 : unknown
v3 : 7.3
v2 : unknown
v3 : 5.4
References () https://github.com/lunary-ai/lunary/commit/fa0fd7742ae029ed934690d282519263f5d838de - () https://github.com/lunary-ai/lunary/commit/fa0fd7742ae029ed934690d282519263f5d838de - Patch
References () https://huntr.com/bounties/b3f4a655-5b08-4fef-be2c-aac8703ad5d0 - () https://huntr.com/bounties/b3f4a655-5b08-4fef-be2c-aac8703ad5d0 - Exploit, Third Party Advisory
First Time Lunary lunary
Lunary

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-03-28 14:22


NVD link : CVE-2025-0281

Mitre link : CVE-2025-0281

CVE.ORG link : CVE-2025-0281


JSON object : View

Products Affected

lunary

  • lunary
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')