Back
CVE-2015-9238
secure-compare 3.0.0 and below do not actually compare two strings properly. compare was actually comparing the first argument with…
Medium5.3EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
Description
secure-compare 3.0.0 and below do not actually compare two strings properly. compare was actually comparing the first argument with itself, meaning the check passed for any two strings of the same length.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 26% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
HackerOne · secure-compare node module
- affected <=3.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmsecure-compareGHSA-h9x2-5rm7-x4gm (opens in a new tab)
References (2)
- https://github.com/vdemedes/secure-compare/pull/1 (opens in a new tab)x_refsource_MISCx_transferred
- https://nodesecurity.io/advisories/50 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h9x2-5rm7-x4gm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-9238)Record last updated .