CVE-2024-45607
MEDIUM 5.3CVSS 3.1whatsapp-api-js fails to validate message's signature
whatsapp-api-js is a TypeScript server agnostic Whatsapp's Official API framework. It's possible to check the payload validation using the WhatsAppAPI.verifyRequestSignature and expect false when the signature is valid. Incorrect Access Control, anyone using the post or verifyRequestSignature methods to handle messages is impacted. This vulnerability is fixed in 4.0.3.
- Published
- 12 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-347
- Also known as
- GHSA-mwhf-vhr5-7j23
- Sources
- NVDJSONOSV GHSA-mwhf-vhr5-7j23JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | secreto31126 | whatsapp-api-jscpe:2.3:a:secreto31126:whatsapp-api-js:*:*:*:*:*:node.js:*:* |
>= 4.0.0, < 4.0.3 | 4.0.3 |
| OSV | npm | whatsapp-api-js | >= 4.0.0, < 4.0.3 | 4.0.3 |
References
- https://github.com/Secreto31126/whatsapp-api-js/commit/56620c65126427496a94d176082fbd8393a95b6d · Patch, WEB
- https://github.com/Secreto31126/whatsapp-api-js/pull/371 · Patch, WEB
- https://github.com/Secreto31126/whatsapp-api-js/security/advisories/GHSA-mwhf-vhr5-7j23 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-45607 · ADVISORY
- https://github.com/Secreto31126/whatsapp-api-js · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Sep 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Sep 2024)