cve.bz

CVE-2025-54369 node-saml node-saml

9.3 criticalEPSS 0.4%Fix available

Critical (9.3) in node-saml node-saml. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in @node-saml/node-saml 5.1.0.

On this page
Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. This issue is fixed in version 5.1.0.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-12-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-87 Improper Neutralization of Alternate XSS Syntax
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @node-saml/node-saml (npm): fixed in 5.1.0

Ask an AI about this CVE

Show the promptExplain CVE-2025-54369 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54369?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54369?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54369 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
node-saml< 5.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m837-g268-mmv7npmnode-saml<=3.1.2no fix published
GHSA-m837-g268-mmv7npm@node-saml/node-saml<5.1.05.1.0

Attack patterns (CAPEC)

  • CAPEC-199 XSS Using Alternate Syntax Likelihood: High · Severity: High
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON