CVE Catalog

CVE-2026-46490

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

31th percentile - higher than 31% of all known CVEs

Summary

samlify, a Node.js library for SAML SSO, prior to version 2.13.0 does not escape attribute values inserted into XML element text (e.g., <saml:AttributeValue>). A 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 signs the tampered assertion and the SP accepts the injected attributes as trusted, allowing privilege escalation.

Risk Assessment

The risk involves privilege escalation by a user when attributes are used for authorization (roles/groups), potentially leading to unauthorized access to sensitive resources.

Recommendation

Upgrade samlify to version 2.13.0 or later, which contains the fix.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS