Skip to content

CVE-2024-45607 whatsapp-api-js fails to validate message's signature

MediumCVSS 5.3 EPSS 14.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm whatsapp-api-js(npm) >= 4.0.0, < 4.0.3 4.0.3 Fixed
Secreto31126 whatsapp-api-js = >= 4.0.0, < 4.0.3; >= 4.0.0, < 4.0.3 4.0.3 Fixed

Affected products

ProductAffected versionsFixed in
npm whatsapp-api-js(npm) >= 4.0.0, < 4.0.3 4.0.3
Secreto31126 whatsapp-api-js = >= 4.0.0, < 4.0.3 No fix listed
Secreto31126 whatsapp-api-js >= 4.0.0, < 4.0.3 4.0.3

References