CVE-2026-54714: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in logto-io logto
CVE-2026-54714 is a cross-site scripting (XSS) vulnerability in the open-source authentication infrastructure Logto prior to version 1.41.0. The vulnerability arises because the SAML RelayState, SAMLResponse, and actionUrl parameters are reflected into an auto-submit HTML form without proper HTML-attribute escaping. This allows an attacker to inject script code that executes on the Logto tenant origin after user login completion. The issue is fixed in Logto version 1.41.0.
AI Analysis
Technical Summary
Logto versions before 1.41.0 contain an improper neutralization of input vulnerability (CWE-79) in the SAML application flow. Specifically, the @logto/core package reflects SAML RelayState, SAMLResponse, and actionUrl parameters into a Logto-origin auto-submit HTML form without escaping HTML attributes. An attacker can craft a malicious RelayState parameter in GET or POST requests to /api/saml/:id/authn, resulting in script injection that executes in the context of the Logto tenant origin after login. This cross-site scripting vulnerability has a CVSS 3.1 base score of 6.1 (medium severity). The vulnerability is resolved in version 1.41.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the Logto tenant origin after a user completes login via a crafted SAML RelayState parameter. This can lead to limited confidentiality and integrity impacts such as theft of session tokens or manipulation of the user interface. There is no direct availability impact. The vulnerability requires user interaction (UI:R) and is exploitable remotely without privileges (AV:N/PR:N).
Mitigation Recommendations
This vulnerability is fixed in Logto version 1.41.0. Users and administrators should upgrade to version 1.41.0 or later to remediate this issue. No vendor advisory is provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the version fix statement in the description.
CVE-2026-54714: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in logto-io logto
Description
CVE-2026-54714 is a cross-site scripting (XSS) vulnerability in the open-source authentication infrastructure Logto prior to version 1.41.0. The vulnerability arises because the SAML RelayState, SAMLResponse, and actionUrl parameters are reflected into an auto-submit HTML form without proper HTML-attribute escaping. This allows an attacker to inject script code that executes on the Logto tenant origin after user login completion. The issue is fixed in Logto version 1.41.0.
CVSS v3.1
Score 6.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Logto versions before 1.41.0 contain an improper neutralization of input vulnerability (CWE-79) in the SAML application flow. Specifically, the @logto/core package reflects SAML RelayState, SAMLResponse, and actionUrl parameters into a Logto-origin auto-submit HTML form without escaping HTML attributes. An attacker can craft a malicious RelayState parameter in GET or POST requests to /api/saml/:id/authn, resulting in script injection that executes in the context of the Logto tenant origin after login. This cross-site scripting vulnerability has a CVSS 3.1 base score of 6.1 (medium severity). The vulnerability is resolved in version 1.41.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the Logto tenant origin after a user completes login via a crafted SAML RelayState parameter. This can lead to limited confidentiality and integrity impacts such as theft of session tokens or manipulation of the user interface. There is no direct availability impact. The vulnerability requires user interaction (UI:R) and is exploitable remotely without privileges (AV:N/PR:N).
Mitigation Recommendations
This vulnerability is fixed in Logto version 1.41.0. Users and administrators should upgrade to version 1.41.0 or later to remediate this issue. No vendor advisory is provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the version fix statement in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T22:58:06.564Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a51500968715ace431e0b9e
Added to database: 07/10/2026, 20:03:21 UTC
Last enriched: 07/10/2026, 20:18:50 UTC
Last updated: 07/10/2026, 23:45:32 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.