Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-46490— samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions

AI Predicted 8.1 Difficulty: Easy EPSS 0.38% · P30

Affected Version Matrix 1

VendorProductVersion RangeStatus
tngansamlify< 2.13.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-46490

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
XML注入(XPath盲注)
Source: NVD (National Vulnerability Database)
Vulnerability Title
samlify 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
samlify是tngan个人开发者的一个用于 SAML SSO 的 Node.js 库。 samlify 2.13.0之前版本存在安全漏洞,该漏洞源于模板替换仅转义属性上下文,元素文本中的值未转义,可能导致XML注入和权限提升。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
tngansamlify < 2.13.0 -

II. Public POCs for CVE-2026-46490

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46490

登录查看更多情报信息。

Vendor Advisories for CVE-2026-46490 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-46490

No comments yet


Leave a comment