{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "9.23.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "339f89110f36d06eaad3f2b4bd048fa5424e5558"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v9.23.0",
                "range": [
                  {
                    "fixed": "082f28c636607b54588c512b0070dd58a7414fa4"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "082f28c636607b54588c512b0070dd58a7414fa4"
            },
            {
              "fixed": "339f89110f36d06eaad3f2b4bd048fa5424e5558"
            }
          ],
          "repo": "https://github.com/code16/sharp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g6f8-c3x9-jv7f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20",
      "CWE-625",
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84987.json"
  },
  "details": "code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can call the autocomplete API with a request endpoint that contains the configured remote endpoint only as a substring. The endpoint validation uses an unanchored regular expression, so a different internal route can satisfy the check and be invoked server-side through the autocomplete request. The vulnerable path uses SharpFormAutocompleteRemoteField::setRemoteEndpoint(); applications using SharpFormAutocompleteRemoteField::setRemoteCallback() are not affected by this endpoint-selection flaw. This issue is fixed in version 9.23.0.",
  "id": "CVE-2026-84987",
  "modified": "2026-11-17T23:45:37.291391310Z",
  "published": "2026-11-17T17:42:04.786Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84987.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/code16/sharp/commit/339f89110f36d06eaad3f2b4bd048fa5424e5558"
    },
    {
      "type": "FIX",
      "url": "https://github.com/code16/sharp/pull/748"
    },
    {
      "type": "WEB",
      "url": "https://github.com/code16/sharp/releases/tag/v9.23.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/code16/sharp/security/advisories/GHSA-g6f8-c3x9-jv7f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84987"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check"
}