{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-46490: samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-46490","status":"final","version":"1","initial_release_date":"2026-06-08T18:41:40.145Z","current_release_date":"2026-06-09T15:13:53.540Z","revision_history":[{"date":"2026-06-08T18:41:40.145Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-46490 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-46490"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-46490"},{"category":"external","summary":"https://github.com/tngan/samlify/security/advisories/GHSA-34r5-q4jw-r36m","url":"https://github.com/tngan/samlify/security/advisories/GHSA-34r5-q4jw-r36m"}]},"product_tree":{"branches":[{"category":"vendor","name":"tngan","branches":[{"category":"product_name","name":"samlify","branches":[{"category":"product_version","name":"< 2.13.0","product":{"name":"tngan samlify < 2.13.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:tngan:samlify:\\<_2.13.0:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-46490","title":"samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":8.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}