Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated network endpoint exposes high-value OAuth secrets; no integrity or availability impact applies to the WordPress system itself.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
5DescriptionCVE.org
The Gallery for Google Photos WordPress plugin before 1.2.1 does not properly restrict access to the stored third-party OAuth credentials of the connected account, exposing the persistent access and refresh tokens to unauthenticated users and allowing long-term compromise of the linked account.
AnalysisAI
Unauthenticated exposure of OAuth credentials in the Gallery for Google Photos WordPress plugin (all versions before 1.2.1) allows any remote attacker to retrieve the stored Google access and refresh tokens of the connected account without authentication. Because refresh tokens are long-lived and self-renewing, a successful retrieval grants persistent, long-term access to the linked Google account well beyond any single session. A publicly available exploit exists per WPScan, though EPSS remains low (0.16%, 6th percentile), suggesting exploitation is not yet widespread.
Technical ContextAI
The plugin integrates WordPress sites with Google Photos via OAuth 2.0, storing both short-lived access tokens and long-lived refresh tokens server-side as part of the connected-account credentials. CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) identifies the root cause: the plugin fails to enforce access controls on the storage location or retrieval endpoint for these credentials, making them readable by unauthenticated HTTP clients. The danger is amplified by OAuth's design - refresh tokens are persistent secrets that can generate new access tokens indefinitely, meaning exfiltration is equivalent to a long-term account takeover rather than a momentary credential leak. Affected product per CPE: cpe:2.3:a:unknown:gallery_for_google_photos:*:*:*:*:*:*:*:* covering all versions up to 1.2.1.
RemediationAI
Update the Gallery for Google Photos WordPress plugin to version 1.2.1 immediately, as this is the vendor-confirmed patched release. After updating, site administrators should revoke and rotate the connected Google OAuth credentials via the Google account security settings (https://myaccount.google.com/permissions) to invalidate any tokens that may have already been exposed, since updating the plugin alone does not invalidate previously leaked tokens. If immediate patching is not possible, a compensating control is to deactivate the plugin entirely, which removes the credential exposure surface at the cost of disabling the gallery functionality. Additionally, review Google account access logs for unexpected third-party application activity. The WPScan advisory at https://wpscan.com/vulnerability/bfec461b-0dfa-48c6-84c1-6ea38a7d4546/ contains further details.
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51953
GHSA-465m-pvh5-8rh9