GHSA-h9x2-5rm7-x4gm
GitHub Security Advisory
Insecure Comparison in secure-compare
✓ GitHub Reviewed
HIGH
Has CVE
Advisory Details
Versions of `secure-compare` prior to 3.0.1 are affected by a vulnerability that results in the package always returning true when comparing two strings of the same length, despite differences in the contents of those strings.
## Recommendation
Upgrade to version 3.0.1 or later.
Affected Packages
npm
secure-compare
Affected versions:
0
(fixed in 3.0.1)
Related CVEs
Key Information
7.5
/10
Dataset
Last updated: July 4, 2025 6:27 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.