Security mailing lists by PureSourceCode

CVE-2024-5478

MEDIUM 6.1CVSS 3.1

Withdrawn Advisory: lunary-ai/lunary XSS in SAML metadata endpoint

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.

Published
6 Jun 2024
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-rpx8-fg6w-rm6x
Sources
NVDJSONOSV GHSA-rpx8-fg6w-rm6xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.0 HIGH 7.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lunary lunary
cpe:2.3:a:lunary:lunary:1.2.7:*:*:*:*:*:*:*
= 1.2.7
OSV npm lunary <= 1.2.7

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 Jun 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.