Cross-site Scripting (XSS) Affecting librechat package, versions <0.8.7-r1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LIBRECHAT-18300133
  • published25 Jul 2026
  • disclosed23 Jul 2026

Introduced: 23 Jul 2026

NewCVE-2026-65901  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard librechat to version 0.8.7-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream librechat package and not the librechat package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

DOMPurify through 3.4.6 contains a cross-site scripting vulnerability in IN_PLACE mode that trusts attacker-controlled nodeName on live non-form nodes. Attackers can supply hostile live DOM objects with real script children whose observable nodeName is clobbered to appear as allowed elements, causing scripts to execute when the sanitized tree is inserted into a live document.

CVSS Base Scores

version 3.1