CVE-2025-54419
JavaScript vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2025-54419) was discovered in Node-SAML, a SAML library for Node.js, affecting versions up to 5.0.1. The vulnerability allows attackers to modify authentication details within valid SAML assertions due to improper verification of signed content. The issue was discovered and disclosed on July 28, 2025, and has been assigned a CVSS score of 10.0 (Critical) (Security Online, GitHub Advisory).

Technical details

The vulnerability stems from Node-SAML loading assertions from unsigned original response documents instead of verifying the signed portions. When checking signatures, the library processes different parts than those used for authentication, creating a security gap. This implementation flaw allows manipulation of authentication details within valid SAML assertions without invalidating the signature. The vulnerability has been assigned CWE-287 (Improper Authentication) and CWE-347 (Improper Verification of Cryptographic Signature) classifications (NVD).

Impact

The vulnerability enables attackers to modify authentication details within valid SAML assertions, potentially leading to authentication bypass in SAML 2.0 web applications. For example, attackers can remove characters from SAML assertion usernames, potentially manipulating user identities. With over 258,000 downloads per week, this vulnerability poses a significant risk to applications using Node-SAML for authentication (Security Online).

Exploitability

To exploit this vulnerability, an attacker needs access to a validly signed document from the identity provider (IdP). Once obtained, the attacker can modify authentication details within the SAML assertion without invalidating the signature, potentially leading to unauthorized access (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Node-SAML version 5.1.0. The fix ensures that SAML assertions are processed only from verified/authenticated contents, preventing unauthorized modifications. Users are strongly advised to upgrade to version 5.1.0 or later (GitHub Release, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-55157HIGH8.4
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-35219HIGH7.1
  • JavaScript logoJavaScript
  • @budibase/server
NoYesAug 14, 2026
CVE-2026-55156MEDIUM5.3
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-50029MEDIUM5.3
  • JavaScript logoJavaScript
  • js-toml
NoYesAug 14, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • trix
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management