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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
tngan samlify
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

samlify是tngan个人开发者的一个用于 SAML SSO 的 Node.js 库。 samlify 2.13.0之前版本存在安全漏洞,该漏洞源于模板替换仅转义属性上下文,元素文本中的值未转义,可能导致XML注入和权限提升。

AI Predicted 8.1 Difficulty: Easy EPSS 0.56% · P45

Affected Version Matrix 1

VendorProduct Version RangeStatus
tngan samlify < 2.13.0 affected
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
XML注入(XPath盲注)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
tngan samlify < 2.13.0 -

II. Public POCs for CVE-2026-46490

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

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