Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54714: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in logto-io logto

0
Medium
VulnerabilityCVE-2026-54714cvecve-2026-54714cwe-79
Published: 07/10/2026 (07/10/2026, 19:54:28 UTC)
Source: CVE Database V5
Vendor/Project: logto-io
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

Affected versions
<1.41.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 20:18:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses