Skip to content
OpenAdvisories
Medium · 5.8 CVE-2024-45607 EUVD-2024-2839GHSA-mwhf-vhr5-7j23

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

Published Sep 12, 2024 · Updated Sep 12, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Secreto31126 whatsapp-api-js >= 4.0.0, < 4.0.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm whatsapp-api-js >= 4.0.0, < 4.0.3 4.0.3 GHSA-mwhf-vhr5-7j23

References