Vulnerability DatabaseGHSA-mfcp-34xw-p57x

GHSA-mfcp-34xw-p57x
JavaScript vulnerability analysis and mitigation

Overview

The saml2-js package versions prior to 2.0.5 contain an Authentication Bypass vulnerability (GHSA-mfcp-34xw-p57x). This security flaw was discovered by Jon Langlois and disclosed on October 21, 2019. The vulnerability affects the SAML assertion handling in the package, which is a node module designed to simplify SAML protocol implementation (GitHub Advisory, Snyk Report).

Technical details

The vulnerability stems from the package's failure to enforce assertion conditions for encrypted assertions. The issue has been assigned a CVSS v3.1 score of 6.8 (Moderate severity) with the following metrics: Network attack vector, High attack complexity, Low privileges required, No user interaction needed, Unchanged scope, and High impact on both confidentiality and integrity. The vulnerability is classified as CWE-287 (Authentication Bypass) (GitHub Advisory, Snyk Report).

Impact

The vulnerability allows attackers to reuse encrypted assertion tokens indefinitely, potentially leading to unauthorized access and authentication bypass. This could result in a total loss of confidentiality and integrity of the affected systems, allowing attackers to access restricted information or modify protected resources (GitHub Advisory, Snyk Report).

Exploitability

The vulnerability requires network access and high attack complexity to exploit. While it requires low privileges, no user interaction is needed for exploitation. The attack can be executed remotely, making it "remotely exploitable" at the protocol level (Snyk Report).

Mitigation and workarounds

The recommended mitigation is to upgrade the saml2-js package to version 2.0.5 or later. The fix was implemented in PR #190, which moves condition enforcement into parse_authn_response() after the assertion has been decrypted (GitHub PR, GitHub Advisory).

Community reactions

The vulnerability was acknowledged as a significant security concern, with security researchers noting it as "a pretty big deal" and warning that the library was not secure without the fix. The issue prompted quick action from the maintainers, who prioritized the review and merge of the fix (GitHub PR).

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-45618CRITICAL10
  • JavaScript logoJavaScript
  • liquidjs
NoYesAug 11, 2026
CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • langfuse-fips-3
NoYesAug 07, 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