XML Injection Affecting logto package, versions <1.41.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.56% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LOGTO-17741366
  • published1 Jul 2026
  • disclosed8 Jun 2026

Introduced: 8 Jun 2026

CVE-2026-46490  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade Minimos:latest logto to version 1.41.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream logto package and not the logto package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

samlify is a Node.js library for SAML single sign-on. Prior to version 2.13.0, samlify’s template substitution only escapes attribute contexts. Values inserted into element text (e.g., <saml:AttributeValue>) are not escaped. A normal user can inject XML markup into an attribute value (e.g., email, name) and add new <saml:Attribute> elements inside the signed assertion. The IdP then signs the tampered assertion and the SP accepts the injected attributes as trusted. This allows privilege escalation when attributes are used for authorization (roles/groups). This issue has been patched in version 2.13.0.

CVSS Base Scores

version 3.1