# Social Media Auto Poster <= 6.2.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Log Entries

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

## Description

The Schedule & Publish to Buffer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via log entries in all versions up to, and including, 6.2.9 due to insufficient output escaping of the status text, profile name and result message when displaying the plugin's logs. The status text is built from the post's title and content, and the plugin decodes HTML entities after stripping tags, so entity-encoded markup in a post becomes live HTML in its log once the post is published and sent to Buffer. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that execute whenever a user, such as an administrator, views the log.

## References

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

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

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.
