Custom Field Suite <= 2.6.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via cfs[post_title]
The Custom Field Suite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the the 'cfs[post_title]' parameter versions up to, and including, 2.6.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-3558
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:04 UTC · Revision 1
Source evidence
Custom Field Suite <= 2.6.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via cfs[post_title]
core-osv · Original sourcePublished 20 Jun 2024, 02:08 UTC
The Custom Field Suite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the the 'cfs[post_title]' parameter versions up to, and including, 2.6.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
osv:CVE-2024-3558
Complete source record
{
"id": "d2cd690b7a2bced70d4b4530bcbdab7d855861d17c143ecc07f3f6b2241bf333",
"url": "https://osv.dev/vulnerability/CVE-2024-3558",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Custom Field Suite <= 2.6.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via cfs[post_title]",
"summary": "The Custom Field Suite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the the 'cfs[post_title]' parameter versions up to, and including, 2.6.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
"evidence": "osv:CVE-2024-3558",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-3558",
"aliases": [
"CVE-2024-3558"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mgibbs189/custom-field-suite",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d6bd98c858e3133b30383f7fa1ed393e15f0e51c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.6.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:custom_field_suite_project:custom_field_suite:*:*:*:*:*:wordpress:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.6.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.6.7",
"2.6.5",
"2.6.4",
"2.6.2.1",
"2.6.2",
"2.6",
"2.5.16",
"2.5.15",
"2.5.14",
"2.5.13",
"2.5.12",
"2.5.11",
"2.5.10",
"2.5.9",
"2.5.8",
"2.5.7",
"2.5.6.1",
"2.5.6",
"2.5.5",
"2.5.4",
"2.5.3",
"2.5.2",
"2.5.1",
"2.5",
"2.4.5",
"2.4.4",
"2.4.3",
"2.4.2",
"2.4.1",
"2.4",
"2.3.11",
"2.3.9",
"2.3.8",
"2.3.7",
"2.3.6",
"2.3.5",
"2.3.4",
"2.3.3",
"2.3.2",
"2.3.0",
"2.2.2",
"2.1.0",
"2.2.0",
"2.1.1",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.2",
"1.9.9",
"1.9.8",
"1.9.7",
"1.9.6",
"1.9.5",
"1.9.4",
"1.9.3",
"1.9.2",
"1.9.1",
"1.9.0",
"1.8.9",
"1.8.8",
"1.8.6",
"1.8.5",
"1.8.3",
"1.8.2",
"1.8.1",
"1.8.0",
"1.7.9",
"1.7.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3558.json"
}
}
],
"modified": "2026-10-28T02:30:30.640650259Z",
"provider": "osv",
"references": [
"https://core.trac.wordpress.org/ticket/56655",
"https://en-gb.wordpress.org/plugins/custom-field-suite/",
"https://github.com/WordPress/WordPress/blob/22d95abc55824e83904dc0fef290464b6bec7708/wp-admin/includes/template.php#L1384",
"https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/api.php#L282",
"https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/field_group.php#L20",
"https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/form.php#L64",
"https://mgibbs189.github.io/custom-field-suite/",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/8e4dc6fd-4bd5-4ed1-ade0-cf2f8831fac3?source=cve",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3558.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-3558"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "Wordfence",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3558.json"
}
},
"related_cves": [
{
"value": "CVE-2024-3558",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497683,
"published_at": "2024-06-20T02:08:25.58+00:00"
}