CVE-2025-46572
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-46572 affects passport-wsfed-saml2, a package that provides passport strategy for both WS-fed and SAML2 protocol. The vulnerability was discovered and disclosed on May 6, 2025, affecting versions 3.0.5 through 4.6.3. This vulnerability allows attackers to impersonate any user during SAML authentication by crafting a SAMLResponse using a valid SAML object signed by the configured Identity Provider (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as an improper authentication issue (CWE-287) in the SAML authentication process. It has been assigned a CVSS v4.0 score of 9.3 (CRITICAL) with the vector string 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. The vulnerability specifically relates to SAML Signature Wrapping, where the authentication mechanism fails to properly validate SAML responses (NVD, Wiz).

Impact

The vulnerability allows attackers to bypass authentication controls and impersonate any user during SAML authentication. This can lead to unauthorized access to user accounts and potential compromise of sensitive information. The impact is particularly severe as it affects the core authentication mechanism of the service (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.6.4 of passport-wsfed-saml2. Users are strongly advised to upgrade to this version or later to address the security issue. No alternative workarounds have been provided (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-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

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