boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-54025MEDIUM
danny-avila LibreChat — LibreChat: Stored XSS via unescaped image alt text in markdown artifact preview
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   L   L   R  C  L  L  N    5.4   .0016    5.9     —
AFFECTED
  Product    Versions       Fixed
  LibreChat  < 0.8.4-rc1 –  —
TIMELINE
  Jun 11  Reserved by GitHub_M
  Jun 25  EXPLOIT PUBLISHED — CVE-2026-54025 (danny-avila LibreChat). Public exploit reference added.
  Jun 25  Published (CNA: GitHub_M)
CWE-79 · CNA: GitHub_M · CVSS v3.1 · 1 reference · NVD status: Analyzed

Description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, there is a vulnerability in LibreChat's markdown artifact preview pipeline. The marked library v15.0.12 does not HTML-escape double-quote characters in image alt text when a custom renderer falls through to the default renderer. LibreChat's generateMarkdownHtml function (in client/src/utils/markdown.ts) installs a custom image renderer that returns false for URLs passing the isSafeUrl allowlist check, which causes marked to fall back to its built-in renderer. That built-in renderer inserts the raw alt text into the alt="..." attribute without escaping double-quote characters. An attacker can craft an alt text such as " onload="payload to break out of the attribute and inject an arbitrary event handler. The resulting HTML is then assigned to document.getElementById('content').innerHTML inside the Sandpack preview iframe, causing the payload to execute in the victim's browser. This vulnerability is fixed in 0.8.4-rc1.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
June 11, 2026ReservedReserved by GitHub_M
June 25, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-54025 (danny-avila LibreChat). Public exploit reference added.
June 25, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
danny-avilaLibreChat< 0.8.4-rc1

Weaknesses

CWE-79

References (1)

Related

Authoritative record: CVE-2026-54025 at cve.org

Vendors: danny-avila

Weaknesses: CWE-79

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-54025 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.