{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.6.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d6bd98c858e3133b30383f7fa1ed393e15f0e51c"
            }
          ],
          "repo": "https://github.com/mgibbs189/custom-field-suite",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2024-3558",
  "modified": "2026-03-15T21:50:01.291506151Z",
  "published": "2024-06-20T02:15:09.663Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/api.php#L282"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/field_group.php#L20"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mgibbs189/custom-field-suite/blob/963dfcede18ff4ad697498556d9058db07d74fa3/includes/form.php#L64"
    },
    {
      "type": "WEB",
      "url": "https://en-gb.wordpress.org/plugins/custom-field-suite/"
    },
    {
      "type": "WEB",
      "url": "https://github.com/WordPress/WordPress/blob/22d95abc55824e83904dc0fef290464b6bec7708/wp-admin/includes/template.php#L1384"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8e4dc6fd-4bd5-4ed1-ade0-cf2f8831fac3?source=cve"
    },
    {
      "type": "REPORT",
      "url": "https://core.trac.wordpress.org/ticket/56655"
    },
    {
      "type": "EVIDENCE",
      "url": "https://mgibbs189.github.io/custom-field-suite/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}