---
id: CVE-2025-51529
title: >-
  Incorrect Access Control in the AJAX endpoint functionality in jonkastonka
  Cookies and Content Security Policy plugin through version 2.29 allows remote
  attackers to cause a denial of service (database server resource exhaustion)
  via unl…
summary: >-
  Incorrect Access Control in the AJAX endpoint functionality in jonkastonka
  Cookies and Content Security Policy plugin through version 2.29 allows remote
  attackers to cause a denial of service (database server resource exhaustion)
  via unl…
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-284
vendor: followmedarling
product: cookies_and_content_security_policy
affected:
  - cookies_and_content_security_policy <= 2.29
published: '2025-08-19'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-51529'
references:
  - url: >-
      https://gist.github.com/piotrmaciejbednarski/f738145c0ab24a110649dc16907e395b
    label: cve@mitre.org
  - url: 'https://github.com/piotrmaciejbednarski/CVE-2025-51529'
    label: cve@mitre.org
tags:
  - nvd
  - exploit-available
epss: 0.00443
epssPercentile: 0.35751
ingestedAt: '2026-07-06T16:44:34.247Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/piotrmaciejbednarski/CVE-2025-51529'
  checkedAt: '2026-09-25T08:20:46.000Z'
exploitAvailable: true
---

## Overview

Incorrect Access Control in the AJAX endpoint functionality in jonkastonka Cookies and Content Security Policy plugin through version 2.29 allows remote attackers to cause a denial of service (database server resource exhaustion) via unlimited database write operations to the wp_ajax_nopriv_cacsp_insert_consent_data endpoint.

## Affected

- `cookies_and_content_security_policy <= 2.29`

## Remediation

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