{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:librechat:librechat:0.7.9:-:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.7.9-NA"
              },
              {
                "last_affected": "0.7.9-NA"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "bef5c26bed4e5053bdf1936d6ded2c77035c6ee5"
            },
            {
              "last_affected": "bef5c26bed4e5053bdf1936d6ded2c77035c6ee5"
            }
          ],
          "repo": "https://github.com/danny-avila/librechat",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.7.9-NA"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntr_ai",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8848.json"
  },
  "details": "A vulnerability in danny-avila/librechat version 0.7.9 allows for HTML injection via the Accept-Language header. When a logged-in user sends an HTTP GET request with a crafted Accept-Language header, arbitrary HTML can be injected into the \u003chtml lang=\"\"\u003e tag of the response. This can lead to potential security risks such as cross-site scripting (XSS) attacks.",
  "id": "CVE-2025-8848",
  "modified": "2026-07-15T01:49:14.662847468Z",
  "published": "2025-10-22T13:54:00.389Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/a05ebc1f-882a-4adc-b178-d3cefa4b730e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8848.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-8848"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "HTML Injection in Accept-Language Header in danny-avila/librechat"
}