---
id: CVE-2025-12898
title: >-
  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
summary: >-
  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 u…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-862
published: '2025-12-20'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T16:10:00.223'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12898'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3422453%40pretty-google-calendar&new=3422453%40pretty-google-calendar&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/pretty-google-calendar/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/b3c15924-d430-48e3-9804-fa83605b9c24?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00275
epssPercentile: 0.1793
ingestedAt: '2026-09-30T17:13:20.769Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
