CVE-2026-54714: Logto: XSS via unescaped RelayState in SAML auto-submit form
Vulnerability summary
CVE-2026-54714 is a medium (CVSS 6.1) vulnerability in logto-io logto. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 27.7% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-07-2026PublishedVulnerability first disclosed.
- 13-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.34% on 22-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Logto-io1 product
- logto< 1.41.0
1 vendor · 1 product
References
4 links- github.com/logto-io/logto/security/advisories/GHSA-cpm5-w86q-w85fX Refsource CONFIRM
- github.com/logto-io/logto/pull/9008X Refsource MISC
- github.com/logto-io/logto/releases/tag/v1.41.0X Refsource MISC