Wordpress Plugin
CVE-2025-12898
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS score of 5.3 and EPSS percentile of 21% suggest this is a low-priority real-world risk despite its straightforward exploitation. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) correctly reflects an unauthenticated, network-accessible vulnerability with low complexity and only confidentiality impact. However, the low EPSS percentile indicates that attack infrastructure cost, victim asset value, and practical exploitability constraints limit actual exploitation probability. The vulnerability does expose API credentials, which is sensitive, but API keys are typically rate-limited and monitored by Google; stolen keys can be detected and revoked quickly. The lack of any confirmed public exploit code or KEV listing further reinforces that this is not actively exploited in the wild. For most WordPress sites, the risk is mitigated by the plugin being low-visibility and the attacker needing prior knowledge of the site running this specific plugin. SSVC considerations: exploitation is straightforward (no authentication required), but the technical impact is limited to credential disclosure without lateral movement or data destruction; vendor patches are available, reducing triage urgency. |
| Exploit ScenarioDerived | An attacker scans WordPress sites for installations of the Pretty Google Calendar plugin (via plugin enumeration or public source code repositories). Upon identifying a target, the attacker sends an unauthenticated HTTP POST request to the site's wp-admin/admin-ajax.php endpoint with action=pgcal_ajax_handler, triggering the vulnerable function. The function executes without capability verification and returns the Google API key stored in the plugin's settings, which the attacker captures. The attacker then uses the stolen key to query the Google Calendar API, accessing calendar data, event details, or potentially modifying calendars if permissions allow, or could resell the credentials on underground markets. No sophisticated tooling or interaction is required; a simple curl command or HTTP client suffices, and detection is minimal unless the site monitors unusual AJAX requests or Google notices API usage spikes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Unauthenticated attackers can retrieve sensitive Google API keys from the Pretty Google Calendar WordPress plugin (versions up to 2.0.0) by exploiting a missing capability check in the pgcal_ajax_handler() AJAX function. The vulnerability allows direct read access to configured API credentials without authentication, enabling credential harvesting for downstream API abuse. No public exploit code or active exploitation has been confirmed at time of analysis; however, the low CVSS score (5.3) and very low EPSS percentile (21%) reflect that while the vulnerability is real, real-world exploitation likelihood remains minimal due to the ease of detection and limited direct impact compared to data exfiltration or system compromise.
RemediationAI
Update the Pretty Google Calendar plugin to version 2.0.1 or later, which includes a patch adding proper WordPress capability checks to the pgcal_ajax_handler() function. Site administrators should navigate to the WordPress Plugins page, locate Pretty Google Calendar, and click Update if a newer version is available. After patching, consider rotating any Google API keys that may have been exposed while running vulnerable versions; generate new keys in the Google Cloud Console and reconfigure the plugin settings with the new credentials. For sites unable to update immediately, manually disabling the plugin via wp-cli or the WordPress admin interface will prevent exploitation, though this will break calendar functionality until a patch can be applied. See the vendor changeset at https://plugins.trac.wordpress.org/changeset for technical details of the patch.
Affected ProductsAI
Pretty Google Calendar plugin for WordPress in all versions up to and including 2.0.0 is affected. The vulnerable AJAX handler is present across all releases from initial publication through version 2.0.0. WordPress installations running any version of this plugin within that range on publicly accessible sites are at risk. Refer to the WordPress plugin directory at https://wordpress.org/plugins/pretty-google-calendar/ for version history and the official Wordfence vulnerability advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/b3c15924-d430-48e3-9804-fa83605b9c24 for confirmation and timeline details.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Pretty Google Calendar WordPress plugin uses AJAX handlers to communicate between the frontend and backend. The pgcal_ajax_handler() function processes user requests but fails to implement WordPress capability checks (typically using current_user_can() for admin or editor roles) before executing sensitive operations. This is a common WordPress security antipattern where AJAX endpoints intended for authenticated administrative use are exposed to the public wp-admin/admin-ajax.php endpoint without validation. The CWE-862 (Missing Authorization) classification indicates the root cause is absent access control rather than broken access control; the function provides no authentication barrier at all. The vulnerability stems from the plugin storing the Google API key in WordPress options (usually wp_options table) and retrieving it without verifying the requesting user's identity or capabilities, allowing unauthenticated POST/GET requests to extract the key via the AJAX interface.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (wordfence) · only source for this CVE.
CVSS VectorVendor: wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB