Smart Custom Fields <= 4.2.2 - Missing Authorization to Authenticated (Subscriber+) Post Content Disclosure
The Smart Custom Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relational_posts_search() function in all versions up to, and including, 4.2.2. This makes it possible for authenticated attackers, with subscrber-level access and above, to retrieve post content that is password protected and/or private.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-1995
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 02:12 UTC · Revision 1
Source evidence
Smart Custom Fields <= 4.2.2 - Missing Authorization to Authenticated (Subscriber+) Post Content Disclosure
core-osv · Original sourcePublished 20 Mar 2024, 01:58 UTC
The Smart Custom Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relational_posts_search() function in all versions up to, and including, 4.2.2. This makes it possible for authenticated attackers, with subscrber-level access and above, to retrieve post content that is password protected and/or private.
osv:CVE-2024-1995
Complete source record
{
"id": "59b9a38b5f75167b2e167f3f6efb900d69883c4926169c706afb4bd46ce3bfff",
"url": "https://osv.dev/vulnerability/CVE-2024-1995",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Smart Custom Fields <= 4.2.2 - Missing Authorization to Authenticated (Subscriber+) Post Content Disclosure",
"summary": "The Smart Custom Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relational_posts_search() function in all versions up to, and including, 4.2.2. This makes it possible for authenticated attackers, with subscrber-level access and above, to retrieve post content that is password protected and/or private.",
"evidence": "osv:CVE-2024-1995",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-1995",
"aliases": [
"CVE-2024-1995"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/inc2734/smart-custom-fields",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "67cb6d75bd8189668f721dbd2dc7a3036851be1b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "67cb6d75bd8189668f721dbd2dc7a3036851be1b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.5",
"4.1.4",
"4.1.3",
"4.1.2",
"4.1.0",
"4.0.2",
"4.0.1",
"4.0.0",
"3.1.7",
"3.1.6",
"3.1.5",
"3.1.4",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.1",
"3.0.0",
"2.3.0",
"2.2.3",
"2.2.2",
"2.2.1",
"2.2.0",
"2.1.1",
"2.1.0",
"2.0.0",
"1.7.0",
"1.6.7",
"1.6.6",
"1.6.5",
"1.6.4",
"1.6.3",
"1.6.2",
"1.6.1",
"1.6.0",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.0",
"1.3.2",
"1.3.1",
"1.3.0",
"1.3.0b",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1995.json"
}
}
],
"modified": "2026-10-28T02:30:41.671355839Z",
"provider": "osv",
"references": [
"https://plugins.trac.wordpress.org/browser/smart-custom-fields/trunk/classes/fields/class.field-related-posts.php#L78",
"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3052172%40smart-custom-fields&new=3052172%40smart-custom-fields&sfp_email=&sfph_mail=",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/e966a266-4265-4a72-8a50-e872805219a7?source=cve",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1995.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-1995",
"https://github.com/inc2734/smart-custom-fields/commit/67cb6d75bd8189668f721dbd2dc7a3036851be1b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-862"
],
"cna_assigner": "Wordfence",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1995.json"
}
},
"related_cves": [
{
"value": "CVE-2024-1995",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509426,
"published_at": "2024-03-20T01:58:04.811+00:00"
}