CVE-2025-12898 Pretty Google Calendar <= 2.0.0 - Missing Authorization to Unauthenticated Google API Key Exposure
Unauthenticated attackers can retrieve the Google API key due to missing capability checks in the Pretty Google Calendar WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12898?
CVE-2025-12898 is a medium-severity missing authorization vulnerability in lbell Pretty Google Calendar, published on 20 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Pretty Google Calendar plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the pgcal_ajax_handler() function in all versions up to, and including, 2.0.0. This makes it possible for unauthenticated attackers to retrieve the Google API key set in the plugin's settings.
Weakness: CWE-862
Which versions are affected by CVE-2025-12898?
How do I fix CVE-2025-12898?
No fix has been published for CVE-2025-12898 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-12898 being exploited?
There is no known exploitation of CVE-2025-12898 in the wild and no public exploit code.
Sources
Also known as GHSA-2p3v-w39c-p52w.