# Social Media Auto Poster <= 6.3.0 - Unauthenticated Sensitive Information Exposure via Debug Log

- **ID:** WPSEC-2026-3757
- **Plugin:** Social Media Auto Poster – Schedule & Publish to Buffer (`wp-to-buffer`), https://wordpress.org/plugins/wp-to-buffer/
- **Affected versions:** from 6.2.4 before 6.3.1
- **Fixed in:** 6.3.1 (Update to 6.3.1 or later.)
- **Severity:** Medium 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-532
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-to-buffer
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3757/

## Description

The Social Media Auto Poster – Schedule & Publish to Buffer plugin for WordPress is vulnerable to Sensitive Information Exposure via the debug log in all versions up to, and including, 6.3.0. This is because the plugin writes the full Buffer OAuth access and refresh tokens to the PHP error log (wp-content/debug.log) when it sets or refreshes tokens and when it sends GraphQL API requests. This makes it possible for unauthenticated attackers to get the tokens and use the connected Buffer account to post to the site's social profiles, provided that the plugin's logging is enabled, WP_DEBUG and WP_DEBUG_LOG are true, WP_DEBUG_DISPLAY is false, and the log file is publicly reachable.

## References

- https://wpsec.com/vuln/WPSEC-2026-3757/
- https://plugins.svn.wordpress.org/wp-to-buffer/tags/6.3.1/
- https://wordpress.org/plugins/wp-to-buffer/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3757/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
