CVE Catalog

CVE-2026-54714

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

A vulnerability in Logto prior to 1.41.0 allows script injection (XSS) by reflecting unsanitized SAML RelayState, SAMLResponse, or actionUrl parameters into an HTML form. An attacker can craft a malicious SAML request to execute arbitrary JavaScript in the Logto tenant origin after user login.

Risk Assessment

The risk includes session hijacking, theft of authentication tokens, or unauthorized actions performed on behalf of the victim in applications relying on Logto as an identity provider.

Recommendation

Upgrade Logto to version 1.41.0 or later immediately, which fixes the XSS vulnerability by properly escaping HTML attributes.

Other vulnerabilities in Logto

See all
Original NVD description (English source)

Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, @logto/core reflected the SAML RelayState, SAMLResponse, and actionUrl into a Logto-origin auto-submit HTML form in packages/core/src/saml-application/SamlApplication/utils.ts without HTML-attribute escaping. A SAML application flow with a crafted RelayState from GET or POST /api/saml/:id/authn could inject script that runs on the Logto tenant origin after the user completes login. This issue is fixed in version 1.41.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS