CVE-2024-45607Secreto31126 Whatsapp-api-js
Medium 5.3 No auth needed
Follow: this CVE · Secreto31126 · Secreto31126 Whatsapp-api-js We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Whatsapp-api-js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | whatsapp-api-js |
≥ 4.0.0 < 4.0.3 |
4.0.3 |
npm install whatsapp-api-js@4.0.3 |
Per OSV / GitHub Advisories (GHSA-mwhf-vhr5-7j23). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| secreto31126 | whatsapp-api-js | ≥ 4.0.0 < 4.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory