{"api_version":"1","generated_at":"2026-07-12T06:26:50+00:00","cve":"CVE-2026-54714","urls":{"html":"https://cve.report/CVE-2026-54714","api":"https://cve.report/api/cve/CVE-2026-54714.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54714","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54714"},"summary":{"title":"Logto: XSS via unescaped RelayState in SAML auto-submit form","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-10 20:16:46","updated_at":"2026-07-10 20:16:46"},"problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-cpm5-w86q-w85f","name":"https://github.com/logto-io/logto/security/advisories/GHSA-cpm5-w86q-w85f","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/pull/9008","name":"https://github.com/logto-io/logto/pull/9008","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/commit/209fa0a5cbe8522f9cf31873239dc6424099bb5e","name":"https://github.com/logto-io/logto/commit/209fa0a5cbe8522f9cf31873239dc6424099bb5e","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0","name":"https://github.com/logto-io/logto/releases/tag/v1.41.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-54714","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54714","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"logto-io","product":"logto","version":"affected < 1.41.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"54714","cve":"CVE-2026-54714","epss":"0.002530000","percentile":"0.166070000","score_date":"2026-07-11","updated_at":"2026-07-12 00:00:50"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"logto","vendor":"logto-io","versions":[{"status":"affected","version":"< 1.41.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-10T19:54:28.526Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/logto-io/logto/security/advisories/GHSA-cpm5-w86q-w85f","tags":["x_refsource_CONFIRM"],"url":"https://github.com/logto-io/logto/security/advisories/GHSA-cpm5-w86q-w85f"},{"name":"https://github.com/logto-io/logto/pull/9008","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/pull/9008"},{"name":"https://github.com/logto-io/logto/commit/209fa0a5cbe8522f9cf31873239dc6424099bb5e","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/commit/209fa0a5cbe8522f9cf31873239dc6424099bb5e"},{"name":"https://github.com/logto-io/logto/releases/tag/v1.41.0","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0"}],"source":{"advisory":"GHSA-cpm5-w86q-w85f","discovery":"UNKNOWN"},"title":"Logto: XSS via unescaped RelayState in SAML auto-submit form"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-54714","datePublished":"2026-07-10T19:54:28.526Z","dateReserved":"2026-06-15T22:58:06.564Z","dateUpdated":"2026-07-10T19:54:28.526Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-10 20:16:46","lastModifiedDate":"2026-07-10 20:16:46","problem_types":["CWE-79","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"54714","Ordinal":"1","Title":"Logto: XSS via unescaped RelayState in SAML auto-submit form","CVE":"CVE-2026-54714","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"54714","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Logto: XSS via unescaped RelayState in SAML auto-submit form"}]}}}