whatsapp-api-js fails to validate message's signature
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Secreto31126 | whatsapp-api-js | 4.0.0 to before 4.0.3 | 4.0.3 | Patch available | CNA |
| — | whatsapp-api-js (npm) | 4.0.0 to before 4.0.3 | 4.0.3 | Patch available | GHSA-mwhf-vhr5-7j23 |
- whatsapp-api-js VendorSecreto31126 Affected 4.0.0 to before 4.0.3 Fixed in 4.0.3 Patch available CNA
- whatsapp-api-js (npm) Vendor— Affected 4.0.0 to before 4.0.3 Fixed in 4.0.3 Patch available GHSA-mwhf-vhr5-7j23
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:secreto31126:whatsapp-api-js:*:*:*:*:*:node.js:*:* | 4.0.0 to before 4.0.3 | Vulnerable | Secreto31126 |
- cpe:2.3:a:secreto31126:whatsapp-api-js:*:*:*:*:*:node.js:*:* Versions 4.0.0 to before 4.0.3 Vulnerable ·Secreto31126
Remediation
- Fix · CNA whatsapp-api-js (Secreto31126) Fixed in 4.0.3
- Fix · GHSA-mwhf-vhr5-7j23 whatsapp-api-js (npm) Fixed in 4.0.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45607
- 2026-10-03 Alias added: GHSA-mwhf-vhr5-7j23
References
Patch 2
Advisory 2
Sources
- CVE-2024-45607 · CVE Program
- CVE-2024-45607 · NVD
- FIRST EPSS
- GHSA-mwhf-vhr5-7j23 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences