# WordPress Pinterest Plugin <= 1.9.2 - Authenticated (Contributor+) PHP Object Injection via Asset Cache Post Meta

- **ID:** WPSEC-2026-0881
- **Plugin:** GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets (`gs-pinterest-portfolio`), https://wordpress.org/plugins/gs-pinterest-portfolio/
- **Affected versions:** from 1.5.2 before 1.9.3
- **Fixed in:** 1.9.3 (Update to 1.9.3 or later.)
- **Severity:** High 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-502
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gs-pinterest-portfolio
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0881/

## Description

The GS Pinterest Portfolio plugin for WordPress is vulnerable to PHP Object Injection via the asset cache post meta in all versions up to, and including, 1.9.2, due to deserialization of untrusted input. The 'gsp--…--assets' meta key was not protected and its value was passed to maybe_unserialize() again after WordPress had already unserialized it, on every front-end view of the post. This makes it possible for authenticated attackers, with Contributor-level access and above, to store a serialized PHP object in the custom fields of their own post and have it instantiated when the post is viewed or previewed. No known POP chain is present in the vulnerable software itself. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

## References

- https://wpsec.com/vuln/WPSEC-2026-0881/
- https://plugins.svn.wordpress.org/gs-pinterest-portfolio/tags/1.9.3/
- https://wordpress.org/plugins/gs-pinterest-portfolio/

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

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.
