CVE-2026-46490
published high CVSS 4.0 · 8.7samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tngan | — | samlify< 2.13.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tngan | samlify | < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-91 CWE-91: XML Injection (aka Blind XPath Injection)
References
1Provider assertions
2GitHub_M · cna
samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1116b446a1b5fbbe3129631ce8bc5b1fd534e1e58d08461e155a7126c6f57eba
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record