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

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 14.5%, higher than 96% of CVEs (2026-12-01)
- Published: 2024-09-12T19:58:13.803Z
- Modified: 2026-06-17T07:54:33.333Z
- Also known as: GHSA-mwhf-vhr5-7j23
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Secreto31126 whatsapp-api-js: >= 4.0.0, < 4.0.3; from 4.0.0 before 4.0.3
- whatsapp-api-js (npm): from 4.0.0 before 4.0.3

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/Secreto31126/whatsapp-api-js/security/advisories/GHSA-mwhf-vhr5-7j23> (vendor-advisory, web)
- <https://github.com/Secreto31126/whatsapp-api-js/pull/371> (patch, web)
- <https://github.com/Secreto31126/whatsapp-api-js/commit/56620c65126427496a94d176082fbd8393a95b6d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45607> (advisory)
- <https://github.com/Secreto31126/whatsapp-api-js> (package)

## Sources

- CVE List: [CVE-2024-45607](https://www.cve.org/CVERecord?id=CVE-2024-45607), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-mwhf-vhr5-7j23](https://github.com/advisories/GHSA-mwhf-vhr5-7j23), CC-BY-4.0, modified 2024-09-12
- NVD: [CVE-2024-45607](https://nvd.nist.gov/vuln/detail/CVE-2024-45607), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45607 · Whole record: https://cve.day/CVE-2024-45607.json · Rebuilt by cve.day 2026-11-25T22:58:45.366Z
