Read the docs
TI-2020-06303 Aliases CVE-2020-7787GHSA-7mpx-vg3c-cmr4

Improper authentication in react-adal

Priority LOW 38CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

This affects all versions of package react-adal. It is possible for a specially crafted JWT token and request URL can cause the nonce, session and refresh values to be incorrectly validated, causing the application to treat an attacker-generated JWT token as authentic. The logical defect is caused by how the nonce, session and refresh values are stored in the browser local storage or session storage. Each key is automatically appended by ||. When the received nonce and session keys are generated, the list of values is stored in the browser storage, separated by ||, with || always appended to the end of the list. Since || will always be the last 2 characters of the stored values, an empty string ("") will always be in the list of the valid values. Therefore, if an empty session parameter is provided in the callback URL, and a specially-crafted JWT token contains an nonce value of "" (empty string), then adal.js will consider the JWT token as authentic.

Why it matters now

EPSS 0.01282 70th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed react-adal (npm): 0.5.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—react-adalall versions—No fix listedCNA
—react-adal (npm)before 0.5.10.5.1Patch availableGHSA-7mpx-vg3c-cmr4
  • react-adal Vendor— Affected all versions Fixed in — No fix listed CNA
  • react-adal (npm) Vendor— Affected before 0.5.1 Fixed in 0.5.1 Patch available GHSA-7mpx-vg3c-cmr4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:react-adal_project:react-adal:*:*:*:*:*:node.js:*:*all versionsVulnerableReact-adal Project
  • cpe:2.3:a:react-adal_project:react-adal:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·React-adal Project

Remediation

  • Fix · GHSA-7mpx-vg3c-cmr4 react-adal (npm) Fixed in 0.5.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-7787
  2. 2026-10-03 Alias added: GHSA-7mpx-vg3c-cmr4

References

Sources