Live threats

All CVEs / Secreto31126

CVE-2024-45607Secreto31126 Whatsapp-api-js

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Whatsapp-api-js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
secreto31126whatsapp-api-js≥ 4.0.0 < 4.0.3

Official sources

References

Links published by the sources. Open them with care.