whatsapp-api-js fails to validate message's signature
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-45607
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:56 UTC · Revision 1
Source evidence
whatsapp-api-js fails to validate message's signature
core-osv · Original sourcePublished 12 Sept 2024, 19:58 UTC
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.
osv:CVE-2024-45607
Complete source record
{
"id": "8502f47e71c4ba6251d614118620974e9c0bee417fda0a6f53128ed75b0dc711",
"url": "https://osv.dev/vulnerability/CVE-2024-45607",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "whatsapp-api-js fails to validate message's signature",
"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.",
"evidence": "osv:CVE-2024-45607",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-45607",
"aliases": [
"CVE-2024-45607",
"GHSA-mwhf-vhr5-7j23"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/secreto31126/whatsapp-api-js",
"type": "GIT",
"events": [
{
"introduced": "2a4236e5c468a1c5ca5b75d67985bf33ae8499db"
},
{
"fixed": "d67fbeaeab5dc10c1b9da9dc35ba0e4a52a45cfd"
},
{
"fixed": "56620c65126427496a94d176082fbd8393a95b6d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:secreto31126:whatsapp-api-js:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "56620c65126427496a94d176082fbd8393a95b6d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.0.2",
"4.0.1",
"4.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45607.json"
}
}
],
"modified": "2026-10-28T02:30:30.074208599Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45607.json",
"https://github.com/Secreto31126/whatsapp-api-js/security/advisories/GHSA-mwhf-vhr5-7j23",
"https://nvd.nist.gov/vuln/detail/CVE-2024-45607",
"https://github.com/Secreto31126/whatsapp-api-js/commit/56620c65126427496a94d176082fbd8393a95b6d",
"https://github.com/Secreto31126/whatsapp-api-js/pull/371"
],
"provider_metadata": {
"cwe_ids": [
"CWE-347"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45607.json"
}
},
"related_cves": [
{
"value": "CVE-2024-45607",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496577,
"published_at": "2024-09-12T19:58:13.803+00:00"
}