Read the docs
TI-2024-30626 Aliases CVE-2024-45607GHSA-mwhf-vhr5-7j23

whatsapp-api-js fails to validate message's signature

Priority MEDIUM 41CWE-347Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.14468 96th percentileScored 2026-11-07
Fix Fixed whatsapp-api-js (Secreto31126): 4.0.3whatsapp-api-js (npm): 4.0.3

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

VendorProductAffected versionsFixed inStatusSource
Secreto31126whatsapp-api-js4.0.0 to before 4.0.34.0.3Patch availableCNA
—whatsapp-api-js (npm)4.0.0 to before 4.0.34.0.3Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:secreto31126:whatsapp-api-js:*:*:*:*:*:node.js:*:*4.0.0 to before 4.0.3VulnerableSecreto31126
  • 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

  1. 2026-10-02 Threatist record created from CVE-2024-45607
  2. 2026-10-03 Alias added: GHSA-mwhf-vhr5-7j23

References

Sources