Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-24872

The Get Custom Field Values WordPress plugin before 4.0 allows users with a role as low as Contributor to access other posts metadata without validating the permissions. Eg. contributors can access admin posts metadata.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-24872
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:29 UTC · Revision 1

Source evidence

CVE-2021-24872

core-osv · Original source

Published 13 Dec 2021, 11:15 UTC

The Get Custom Field Values WordPress plugin before 4.0 allows users with a role as low as Contributor to access other posts metadata without validating the permissions. Eg. contributors can access admin posts metadata.

osv:CVE-2021-24872
Complete source record
{
  "id": "742fcab5b121403e989b5474e51aa4b9cce00bae74364b0d2e6db61dc0a16807",
  "url": "https://osv.dev/vulnerability/CVE-2021-24872",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-24872",
    "summary": "The Get Custom Field Values WordPress plugin before 4.0 allows users with a role as low as Contributor to access other posts metadata without validating the permissions. Eg. contributors can access admin posts metadata.",
    "evidence": "osv:CVE-2021-24872",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-24872",
      "aliases": [
        "CVE-2021-24872"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coffee2code/get-custom-field-values",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "674a6fa37be40e54139c01e7c51fe88e25e5a592"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:get_custom_field_values_project:get_custom_field_values:*:*:*:*:*:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.9.4",
            "3.9.3",
            "3.9.2",
            "3.9.1",
            "3.9",
            "3.8",
            "3.7",
            "3.6.1",
            "3.6",
            "3.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-24872.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:29.299410425Z",
      "provider": "osv",
      "references": [
        "https://wpscan.com/vulnerability/ec23734a-5ea7-4e46-aba9-3dee4e6dffb6"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-24872",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432292,
  "published_at": "2021-12-13T11:15:09.373+00:00"
}