Improper Handling of Case Sensitivity Affecting prompts.chat package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (10th 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-JS-PROMPTSCHAT-16080654
  • published16 Apr 2026
  • disclosed3 Apr 2026
  • creditMehmet Ince

Introduced: 3 Apr 2026

NewCVE-2026-22665  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

prompts.chat is a Developer toolkit for AI prompts - build, validate, parse, and connect to prompts.chat

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to inconsistent case-sensitive and case-insensitive handling of usernames across write and read paths. An attacker can impersonate other users, replace profile content on canonical URLs, and inject attacker-controlled metadata and content across the platform by creating case-variant usernames that bypass uniqueness checks.

CVSS Base Scores

version 4.0
version 3.1