Skip to main content
VulnerabilityPublished

CVE-2026-46490: tngan samlify · XML Injection

Affects tngan samlifySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 2.13.0 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.13.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade tngan samlify to 2.13.0.

Affected software

ProductAffectedFixed in
tngansamlifyAffected
  • <2.13.0
Fixed in
  • 2.13.0
npmsamlifypkg:npm/samlifyOther threatsAffected
  • <2.13.0
Fixed in
  • 2.13.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade samlify to version 2.13.0 or later, where this XML Injection vulnerability has been patched. No other mitigation is necessary as the fix addresses the root cause.

Description

CVE-2026-46490 is an XML Injection vulnerability in the Node.js library samlify prior to version 2.13.0. The issue arises because samlify escapes only attribute contexts during template substitution, but does not escape values inserted into element text such as <saml:AttributeValue>. This allows an attacker to inject XML markup into attribute values, resulting in additional <saml:Attribute> elements inside signed assertions. Consequently, the Identity Provider (IdP) signs tampered assertions, and the Service Provider (SP) accepts injected attributes as trusted, enabling privilege escalation when attributes control authorization. The vulnerability has been patched in samlify version 2.13.0.

References

Community reviews

Loading reviews…