Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54714— Logto: XSS via unescaped RelayState in SAML auto-submit form

Quick assessment

Affected
logto-io logto
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

logto-io logto是logto-io组织的一个身份认证和用户管理平台。 logto-io logto 1.41.0之前版本存在跨站脚本漏洞,该漏洞源于对SAML RelayState、SAMLResponse和actionUrl的HTML属性未进行转义处理,攻击者通过特制的RelayState注入脚本,在用户完成登录后执行跨站脚本攻击。

CVSS 6.1 · Medium EPSS 0.34% · P25

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

VendorProduct Version RangeStatus
logto-io logto < 1.41.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54714

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Logto: XSS via unescaped RelayState in SAML auto-submit form
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
logto-io logto 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
logto-io logto是logto-io组织的一个身份认证和用户管理平台。 logto-io logto 1.41.0之前版本存在跨站脚本漏洞,该漏洞源于对SAML RelayState、SAMLResponse和actionUrl的HTML属性未进行转义处理,攻击者通过特制的RelayState注入脚本,在用户完成登录后执行跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
logto-io logto < 1.41.0 -

II. Public POCs for CVE-2026-54714

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54714

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54714 (2)

Vendor Pages for CVE-2026-54714 (1)

Other References for CVE-2026-54714 (1)

Same Patch Batch · logto-io · 2026-07-10 · 4 CVEs total

CVE-2026-55789 8.5 HIGH Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, all
CVE-2026-55377 8.1 HIGH Logto: Account Center MFA management step-up bypass via WebAuthn registration verification
CVE-2026-55370 6.4 MEDIUM Logto: TOTP code can be replayed within the RFC 6238 validity window (one-time use violati

IV. Related Vulnerabilities

V. Comments for CVE-2026-54714

No comments yet


Leave a comment