{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "22.6.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "23.0.0-M1"
                  },
                  {
                    "fixed": "23.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "65bbfd8c63c42e84ff7699aa5b82a22c08a12624"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "5b50c64c14943b6f4d7faf996345e603956bae1d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d2ca0e1ac47020799bbceec7a9759a725bf18642"
            },
            {
              "introduced": "2dff69f18bb8228c54709e67bfddf16194009a78"
            },
            {
              "fixed": "230e772a88f722447b704721f5d3b620e71e62ad"
            },
            {
              "fixed": "65bbfd8c63c42e84ff7699aa5b82a22c08a12624"
            },
            {
              "fixed": "5b50c64c14943b6f4d7faf996345e603956bae1d"
            }
          ],
          "repo": "https://github.com/wrensecurity/wrensec-commons",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4vhv-49g2-496q"
  ],
  "database_specific": {
    "cna_assigner": "WrenSecurity",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2102.json"
  },
  "details": "wrensec-commons contains a reflected cross-site scripting (XSS) vulnerability in the CREST framework's HTTP binding. The HttpUtils.prepareResponse() method used the _mimeType request parameter to set the Content-Type response header without proper sanitization. By sending a GET request with _mimeType=text/html, an attacker could cause the browser to interpret a CREST JSON response as HTML, enabling execution of arbitrary JavaScript in the victim's browser. The vulnerability is exploitable by tricking a user into visiting a crafted URL targeting any deployed CREST endpoint. The issue is fixed in versions 22.6.2 and 23.0.0.",
  "id": "CVE-2026-2102",
  "modified": "2026-11-11T10:30:28.243499884Z",
  "published": "2026-11-02T15:26:54.677Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/WrenSecurity/wrensec-commons/"
    },
    {
      "type": "WEB",
      "url": "https://repo1.maven.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2102.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2102"
    },
    {
      "type": "FIX",
      "url": "https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter"
}