{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "3.8.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "9f8521398d1ff023b958fad0b944cac265763866"
            }
          ],
          "repo": "https://github.com/corazawaf/coraza",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142240.json"
  },
  "details": "OWASP Coraza through 3.8.1 contains a request body inspection bypass that allows unauthenticated remote attackers to evade JSON and XML body processing via leading Unicode whitespace in Content-Type. Attackers can prefix application/json or XML media types with a character such as U+00A0 so recommended rules 200000, 200001 and 200006 fail, delivering uninspected payloads to backends using mime.ParseMediaType.",
  "id": "CVE-2026-142240",
  "modified": "2026-12-02T20:45:18.571336742Z",
  "published": "2026-12-02T16:50:02.796Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142240.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/corazawaf/coraza"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/corazawaf/coraza/blob/v3.8.1/coraza.conf-recommended#L31-L45"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/corazawaf/coraza/blob/v3.8.1/internal/corazawaf/transaction.go#L395-L417"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142240"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/owasp-coraza-through-3.8.1-request-body-inspection-bypass-via-content-type-unicode-whitespace"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OWASP Coraza through 3.8.1 Request Body Inspection Bypass via Content-Type Unicode Whitespace"
}