CVE-2026-54714

MEDIUM CVSS 3.1: 6.1 EPSS 0.34%
Updated Oct 25, 2026
Logto
Parameter Value
CVSS 6.1 (MEDIUM)
Fixed In 1.41.0
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Logto
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1