Vulnerability in Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy — CVE-2026-109191
What to do now
Update Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy to 1.3.0 or later.
Affected versions
- Everything up to and including 1.2.0
Affected: Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy (plugin, image-hub)
What the vulnerability is
The Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.2.0 via the 'image_hub_api_keys_* (6 options)' parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to extract the plaintext API credentials for six third-party services — Giphy, Openverse (client ID and secret), Pexels, Pixabay, and Unsplash — emitted verbatim into every admin page's HTML via wp_localize_script. The leaked page HTML also contains a valid image_hub_nonce AJAX nonce, which — combined with the absence of any capability check in the image_hub_update_settings AJAX handler — allows the same Subscriber-level attacker to overwrite all six stored API credential options via update_option().
Sources
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/image-hub.php#L46
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L19
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L38
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L56
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/inc/src/Settings.php#L23
- https://plugins.trac.wordpress.org/browser/image-hub/tags/1.2.0/inc/src/Settings.php#L78