Live threats

All CVEs / Samlify Project

CVE-2026-46490Samlify Project Samlify

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Jun 8, 2026
Updated
Jul 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-91
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samlify.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm samlify < 2.13.0 2.13.0 npm install samlify@2.13.0

Per OSV / GitHub Advisories (GHSA-34r5-q4jw-r36m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
samlify_projectsamlify< 2.13.0

Official sources

References

Links published by the sources. Open them with care.