Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-46490
Published:June 08, 2026
Updated:June 11, 2026
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" (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" (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.
Affected Packages
https://github.com/tngan/samlify.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.13.0
Fix Suggestion:
Update to version v2.13.0
samlify (NPM):
Affected version(s) >=2.0.0-rc.1 <2.13.0
Fix Suggestion:
Update to version 2.13.0
samlify (NPM):
Affected version(s) >=2.0.0-rc.1 <2.13.0
Fix Suggestion:
Update to version 2.13.0
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
XML Injection (aka Blind XPath Injection)
EPSS
Base Score:
0.05