---
id: CVE-2024-0830
title: >-
  The Comments Extra Fields For Post,Pages and CPT plugin for WordPress is
  vulnerable to Cross-Site Request Forgery in all versions up to, and including,
  5.0
summary: >-
  The Comments Extra Fields For Post,Pages and CPT plugin for WordPress is
  vulnerable to Cross-Site Request Forgery in all versions up to, and including,
  5.0. This is due to missing or incorrect nonce validation on several ajax
  actions. Th…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-352
  - CWE-352
vendor: najeebmedia
product: 'comments_extra_fields_for_post,_pages_and_cpt'
affected:
  - 'comments_extra_fields_for_post,_pages_and_cpt < 5.1'
patched:
  - 'comments_extra_fields_for_post,_pages_and_cpt 5.1'
published: '2024-03-13'
updated: '2026-08-11'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-0830'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-comment-fields/trunk/classes/admin.class.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3040734%40wp-comment-fields%2Ftrunk&old=3039523%40wp-comment-fields%2Ftrunk&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/8ea53b11-37fa-4c45-a158-5a7709b842fc?source=cve
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-comment-fields/trunk/classes/admin.class.php
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3040734%40wp-comment-fields%2Ftrunk&old=3039523%40wp-comment-fields%2Ftrunk&sfp_email=&sfph_mail=
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/8ea53b11-37fa-4c45-a158-5a7709b842fc?source=cve
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00303
epssPercentile: 0.23309
ingestedAt: '2026-08-11T16:47:02.699Z'
---

## Overview

The Comments Extra Fields For Post,Pages and CPT plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 5.0. This is due to missing or incorrect nonce validation on several ajax actions. This makes it possible for unauthenticated attackers to invoke those actions via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. As a result, they may modify comment form fields and update plugin settings.

## Affected

- `comments_extra_fields_for_post,_pages_and_cpt < 5.1`

## Remediation

Upgrade past the affected range:

- `comments_extra_fields_for_post,_pages_and_cpt 5.1`
