What’s Vulnerable › Vulnerabilities
CVE-2024-35232: github.com/huandu/facebook may expose access_token in error message
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-24 · updated 2026-06-17
- Weakness: CWE-209
Description
github.com/huandu/facebook is a Go package that fully supports the Facebook Graph API with file upload, batch request and marketing API. access_token can be exposed in error message on fail in HTTP request. This issue has been patched in version 2.7.2.
Affected products
- Facebook for WordPress: through 2.7.1
References
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30
- https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567
- https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4
- https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/http/client.go;l=629-633
- https://cs.opensource.google/go/go/+/refs/tags/go1.22.3:src/net/url/url.go;l=30
- https://github.com/huandu/facebook/blob/1591be276561bbdb019c0279f1d33cb18a650e1b/session.go#L558-L567
- https://github.com/huandu/facebook/commit/8b34431b91b32903c8821b1d7621bf81a029d8e4
- https://github.com/huandu/facebook/security/advisories/GHSA-3f65-m234-9mxr
Get alerted when CVE-2024-35232 or the next vulnerability affects your stack